var Daudio = function (t) {
    var e = {};

    function n(r) {
        if (e[r]) return e[r].exports;
        var o = e[r] = {i: r, l: !1, exports: {}};
        return t[r].call(o.exports, o, o.exports, n), o.l = !0, o.exports
    }

    return n.m = t, n.c = e, n.d = function (t, e, r) {
        n.o(t, e) || Object.defineProperty(t, e, {enumerable: !0, get: r})
    }, n.r = function (t) {
        "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(t, Symbol.toStringTag, {value: "Module"}), Object.defineProperty(t, "__esModule", {value: !0})
    }, n.t = function (t, e) {
        if (1 & e && (t = n(t)), 8 & e) return t;
        if (4 & e && "object" == typeof t && t && t.__esModule) return t;
        var r = Object.create(null);
        if (n.r(r), Object.defineProperty(r, "default", {
            enumerable: !0,
            value: t
        }), 2 & e && "string" != typeof t) for (var o in t) n.d(r, o, function (e) {
            return t[e]
        }.bind(null, o));
        return r
    }, n.n = function (t) {
        var e = t && t.__esModule ? function () {
            return t.default
        } : function () {
            return t
        };
        return n.d(e, "a", e), e
    }, n.o = function (t, e) {
        return Object.prototype.hasOwnProperty.call(t, e)
    }, n.p = "", n(n.s = 62)
}([function (t, e, n) {
    var r = n(39), o = "object" == typeof self && self && self.Object === Object && self,
        i = r || o || Function("return this")();
    t.exports = i
}, function (t, e) {
    var n = Array.isArray;
    t.exports = n
}, function (t, e) {
    t.exports = function (t) {
        return null != t && "object" == typeof t
    }
}, function (t, e) {
    t.exports = function (t) {
        var e = typeof t;
        return null != t && ("object" == e || "function" == e)
    }
}, function (t, e, n) {
    var r = n(93), o = n(96);
    t.exports = function (t, e) {
        var n = o(t, e);
        return r(n) ? n : void 0
    }
}, function (t, e, n) {
    var r = n(37), o = n(77), i = n(11);
    t.exports = function (t) {
        return i(t) ? r(t) : o(t)
    }
}, function (t, e, n) {
    var r = n(7), o = n(73), i = n(74), a = "[object Null]", u = "[object Undefined]", s = r ? r.toStringTag : void 0;
    t.exports = function (t) {
        return null == t ? void 0 === t ? u : a : s && s in Object(t) ? o(t) : i(t)
    }
}, function (t, e, n) {
    var r = n(0).Symbol;
    t.exports = r
}, function (t, e) {
    t.exports = function (t, e) {
        return t === e || t != t && e != e
    }
}, function (t, e, n) {
    "use strict";

    function r(t) {
        var e = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(t);
        return null === e ? null : [e[1], e[2], e[3]].map(function (t) {
            return parseInt(t, 16)
        })
    }

    function o(t, e, n) {
        return e /= 255, n /= 255, t = (t /= 255) > .04045 ? Math.pow((t + .005) / 1.055, 2.4) : t / 12.92, e = e > .04045 ? Math.pow((e + .005) / 1.055, 2.4) : e / 12.92, n = n > .04045 ? Math.pow((n + .005) / 1.055, 2.4) : n / 12.92, [.4124 * (t *= 100) + .3576 * (e *= 100) + .1805 * (n *= 100), .2126 * t + .7152 * e + .0722 * n, .0193 * t + .1192 * e + .9505 * n]
    }

    function i(t, e, n) {
        return e /= 100, n /= 108.883, t = (t /= 95.047) > .008856 ? Math.pow(t, 1 / 3) : 7.787 * t + 16 / 116, [116 * (e = e > .008856 ? Math.pow(e, 1 / 3) : 7.787 * e + 16 / 116) - 16, 500 * (t - e), 200 * (e - (n = n > .008856 ? Math.pow(n, 1 / 3) : 7.787 * n + 16 / 116))]
    }

    function a(t, e, n) {
        var r = o(t, e, n);
        return i(r[0], r[1], r[2])
    }

    function u(t, e) {
        var n = t[0], r = t[1], o = t[2], i = e[0], a = e[1], u = e[2], s = n - i, c = r - a, l = o - u,
            f = Math.sqrt(r * r + o * o), h = i - n, p = Math.sqrt(a * a + u * u) - f,
            d = Math.sqrt(s * s + c * c + l * l),
            v = Math.sqrt(d) > Math.sqrt(Math.abs(h)) + Math.sqrt(Math.abs(p)) ? Math.sqrt(d * d - h * h - p * p) : 0;
        return h /= 1, p /= 1 * (1 + .045 * f), v /= 1 * (1 + .015 * f), Math.sqrt(h * h + p * p + v * v)
    }

    function s(t, e) {
        return u(a.apply(void 0, t), a.apply(void 0, e))
    }

    Object.defineProperty(e, "__esModule", {value: !0}), e.DELTAE94_DIFF_STATUS = {
        NA: 0,
        PERFECT: 1,
        CLOSE: 2,
        GOOD: 10,
        SIMILAR: 50
    }, e.SIGBITS = 5, e.RSHIFT = 8 - e.SIGBITS, e.defer = function () {
        var t, e, n = new Promise(function (n, r) {
            t = n, e = r
        });
        return {resolve: t, reject: e, promise: n}
    }, e.hexToRgb = r, e.rgbToHex = function (t, e, n) {
        return "#" + ((1 << 24) + (t << 16) + (e << 8) + n).toString(16).slice(1, 7)
    }, e.rgbToHsl = function (t, e, n) {
        t /= 255, e /= 255, n /= 255;
        var r, o, i = Math.max(t, e, n), a = Math.min(t, e, n), u = (i + a) / 2;
        if (i === a) r = o = 0; else {
            var s = i - a;
            switch (o = u > .5 ? s / (2 - i - a) : s / (i + a), i) {
                case t:
                    r = (e - n) / s + (e < n ? 6 : 0);
                    break;
                case e:
                    r = (n - t) / s + 2;
                    break;
                case n:
                    r = (t - e) / s + 4
            }
            r /= 6
        }
        return [r, o, u]
    }, e.hslToRgb = function (t, e, n) {
        var r, o, i;

        function a(t, e, n) {
            return n < 0 && (n += 1), n > 1 && (n -= 1), n < 1 / 6 ? t + 6 * (e - t) * n : n < .5 ? e : n < 2 / 3 ? t + (e - t) * (2 / 3 - n) * 6 : t
        }

        if (0 === e) r = o = i = n; else {
            var u = n < .5 ? n * (1 + e) : n + e - n * e, s = 2 * n - u;
            r = a(s, u, t + 1 / 3), o = a(s, u, t), i = a(s, u, t - 1 / 3)
        }
        return [255 * r, 255 * o, 255 * i]
    }, e.rgbToXyz = o, e.xyzToCIELab = i, e.rgbToCIELab = a, e.deltaE94 = u, e.rgbDiff = s, e.hexDiff = function (t, e) {
        return s(r(t), r(e))
    }, e.getColorDiffStatus = function (t) {
        return t < e.DELTAE94_DIFF_STATUS.NA ? "N/A" : t <= e.DELTAE94_DIFF_STATUS.PERFECT ? "Perfect" : t <= e.DELTAE94_DIFF_STATUS.CLOSE ? "Close" : t <= e.DELTAE94_DIFF_STATUS.GOOD ? "Good" : t < e.DELTAE94_DIFF_STATUS.SIMILAR ? "Similar" : "Wrong"
    }, e.getColorIndex = function (t, n, r) {
        return (t << 2 * e.SIGBITS) + (n << e.SIGBITS) + r
    }
}, function (t, e) {
    t.exports = function (t) {
        return t.webpackPolyfill || (t.deprecate = function () {
        }, t.paths = [], t.children || (t.children = []), Object.defineProperty(t, "loaded", {
            enumerable: !0,
            get: function () {
                return t.l
            }
        }), Object.defineProperty(t, "id", {
            enumerable: !0, get: function () {
                return t.i
            }
        }), t.webpackPolyfill = 1), t
    }
}, function (t, e, n) {
    var r = n(43), o = n(22);
    t.exports = function (t) {
        return null != t && o(t.length) && !r(t)
    }
}, function (t, e, n) {
    var r = n(83), o = n(84), i = n(85), a = n(86), u = n(87);

    function s(t) {
        var e = -1, n = null == t ? 0 : t.length;
        for (this.clear(); ++e < n;) {
            var r = t[e];
            this.set(r[0], r[1])
        }
    }

    s.prototype.clear = r, s.prototype.delete = o, s.prototype.get = i, s.prototype.has = a, s.prototype.set = u, t.exports = s
}, function (t, e, n) {
    var r = n(8);
    t.exports = function (t, e) {
        for (var n = t.length; n--;) if (r(t[n][0], e)) return n;
        return -1
    }
}, function (t, e, n) {
    var r = n(4)(Object, "create");
    t.exports = r
}, function (t, e, n) {
    var r = n(105);
    t.exports = function (t, e) {
        var n = t.__data__;
        return r(e) ? n["string" == typeof e ? "string" : "hash"] : n.map
    }
}, function (t, e, n) {
    var r = n(119), o = n(27), i = n(120), a = n(121), u = n(122), s = n(6), c = n(44), l = c(r), f = c(o), h = c(i),
        p = c(a), d = c(u), v = s;
    (r && "[object DataView]" != v(new r(new ArrayBuffer(1))) || o && "[object Map]" != v(new o) || i && "[object Promise]" != v(i.resolve()) || a && "[object Set]" != v(new a) || u && "[object WeakMap]" != v(new u)) && (v = function (t) {
        var e = s(t), n = "[object Object]" == e ? t.constructor : void 0, r = n ? c(n) : "";
        if (r) switch (r) {
            case l:
                return "[object DataView]";
            case f:
                return "[object Map]";
            case h:
                return "[object Promise]";
            case p:
                return "[object Set]";
            case d:
                return "[object WeakMap]"
        }
        return e
    }), t.exports = v
}, function (t, e, n) {
    var r = n(31), o = 1 / 0;
    t.exports = function (t) {
        if ("string" == typeof t || r(t)) return t;
        var e = t + "";
        return "0" == e && 1 / t == -o ? "-0" : e
    }
}, function (t, e, n) {
    var r = n(56), o = n(57);
    t.exports = function (t, e, n, i) {
        var a = !n;
        n || (n = {});
        for (var u = -1, s = e.length; ++u < s;) {
            var c = e[u], l = i ? i(n[c], t[c], c, n, t) : void 0;
            void 0 === l && (l = t[c]), a ? o(n, c, l) : r(n, c, l)
        }
        return n
    }
}, function (t, e, n) {
    "use strict";
    Object.defineProperty(e, "__esModule", {value: !0});
    var r = n(9), o = n(65), i = function () {
        function t(t, e) {
            this._rgb = t, this._population = e
        }

        return t.applyFilter = function (t, e) {
            return "function" == typeof e ? o(t, function (t) {
                var n = t.r, r = t.g, o = t.b;
                return e(n, r, o, 255)
            }) : t
        }, Object.defineProperty(t.prototype, "r", {
            get: function () {
                return this._rgb[0]
            }, enumerable: !0, configurable: !0
        }), Object.defineProperty(t.prototype, "g", {
            get: function () {
                return this._rgb[1]
            }, enumerable: !0, configurable: !0
        }), Object.defineProperty(t.prototype, "b", {
            get: function () {
                return this._rgb[2]
            }, enumerable: !0, configurable: !0
        }), Object.defineProperty(t.prototype, "rgb", {
            get: function () {
                return this._rgb
            }, enumerable: !0, configurable: !0
        }), Object.defineProperty(t.prototype, "hsl", {
            get: function () {
                if (!this._hsl) {
                    var t = this._rgb, e = t[0], n = t[1], o = t[2];
                    this._hsl = r.rgbToHsl(e, n, o)
                }
                return this._hsl
            }, enumerable: !0, configurable: !0
        }), Object.defineProperty(t.prototype, "hex", {
            get: function () {
                if (!this._hex) {
                    var t = this._rgb, e = t[0], n = t[1], o = t[2];
                    this._hex = r.rgbToHex(e, n, o)
                }
                return this._hex
            }, enumerable: !0, configurable: !0
        }), Object.defineProperty(t.prototype, "population", {
            get: function () {
                return this._population
            }, enumerable: !0, configurable: !0
        }), t.prototype.toJSON = function () {
            return {rgb: this.rgb, population: this.population}
        }, t.prototype.getRgb = function () {
            return this._rgb
        }, t.prototype.getHsl = function () {
            return this.hsl
        }, t.prototype.getPopulation = function () {
            return this._population
        }, t.prototype.getHex = function () {
            return this.hex
        }, t.prototype.getYiq = function () {
            if (!this._yiq) {
                var t = this._rgb;
                this._yiq = (299 * t[0] + 587 * t[1] + 114 * t[2]) / 1e3
            }
            return this._yiq
        }, Object.defineProperty(t.prototype, "titleTextColor", {
            get: function () {
                return this._titleTextColor || (this._titleTextColor = this.getYiq() < 200 ? "#fff" : "#000"), this._titleTextColor
            }, enumerable: !0, configurable: !0
        }), Object.defineProperty(t.prototype, "bodyTextColor", {
            get: function () {
                return this._bodyTextColor || (this._bodyTextColor = this.getYiq() < 150 ? "#fff" : "#000"), this._bodyTextColor
            }, enumerable: !0, configurable: !0
        }), t.prototype.getTitleTextColor = function () {
            return this.titleTextColor
        }, t.prototype.getBodyTextColor = function () {
            return this.bodyTextColor
        }, t
    }();
    e.Swatch = i
}, function (t, e, n) {
    (function (t) {
        var r = n(0), o = n(75), i = e && !e.nodeType && e, a = i && "object" == typeof t && t && !t.nodeType && t,
            u = a && a.exports === i ? r.Buffer : void 0, s = (u ? u.isBuffer : void 0) || o;
        t.exports = s
    }).call(this, n(10)(t))
}, function (t, e) {
    var n = 9007199254740991, r = /^(?:0|[1-9]\d*)$/;
    t.exports = function (t, e) {
        var o = typeof t;
        return !!(e = null == e ? n : e) && ("number" == o || "symbol" != o && r.test(t)) && t > -1 && t % 1 == 0 && t < e
    }
}, function (t, e) {
    var n = 9007199254740991;
    t.exports = function (t) {
        return "number" == typeof t && t > -1 && t % 1 == 0 && t <= n
    }
}, function (t, e) {
    t.exports = function (t) {
        return function (e) {
            return t(e)
        }
    }
}, function (t, e, n) {
    (function (t) {
        var r = n(39), o = e && !e.nodeType && e, i = o && "object" == typeof t && t && !t.nodeType && t,
            a = i && i.exports === o && r.process, u = function () {
                try {
                    var t = i && i.require && i.require("util").types;
                    return t || a && a.binding && a.binding("util")
                } catch (t) {
                }
            }();
        t.exports = u
    }).call(this, n(10)(t))
}, function (t, e) {
    var n = Object.prototype;
    t.exports = function (t) {
        var e = t && t.constructor;
        return t === ("function" == typeof e && e.prototype || n)
    }
}, function (t, e, n) {
    var r = n(12), o = n(88), i = n(89), a = n(90), u = n(91), s = n(92);

    function c(t) {
        var e = this.__data__ = new r(t);
        this.size = e.size
    }

    c.prototype.clear = o, c.prototype.delete = i, c.prototype.get = a, c.prototype.has = u, c.prototype.set = s, t.exports = c
}, function (t, e, n) {
    var r = n(4)(n(0), "Map");
    t.exports = r
}, function (t, e, n) {
    var r = n(97), o = n(104), i = n(106), a = n(107), u = n(108);

    function s(t) {
        var e = -1, n = null == t ? 0 : t.length;
        for (this.clear(); ++e < n;) {
            var r = t[e];
            this.set(r[0], r[1])
        }
    }

    s.prototype.clear = r, s.prototype.delete = o, s.prototype.get = i, s.prototype.has = a, s.prototype.set = u, t.exports = s
}, function (t, e, n) {
    var r = n(36), o = n(51), i = Object.prototype.propertyIsEnumerable, a = Object.getOwnPropertySymbols,
        u = a ? function (t) {
            return null == t ? [] : (t = Object(t), r(a(t), function (e) {
                return i.call(t, e)
            }))
        } : o;
    t.exports = u
}, function (t, e, n) {
    var r = n(1), o = n(31), i = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, a = /^\w*$/;
    t.exports = function (t, e) {
        if (r(t)) return !1;
        var n = typeof t;
        return !("number" != n && "symbol" != n && "boolean" != n && null != t && !o(t)) || a.test(t) || !i.test(t) || null != e && t in Object(e)
    }
}, function (t, e, n) {
    var r = n(6), o = n(2), i = "[object Symbol]";
    t.exports = function (t) {
        return "symbol" == typeof t || o(t) && r(t) == i
    }
}, function (t, e) {
    t.exports = function (t) {
        return t
    }
}, function (t, e, n) {
    var r = n(37), o = n(144), i = n(11);
    t.exports = function (t) {
        return i(t) ? r(t, !0) : o(t)
    }
}, function (t, e, n) {
    var r = n(47);
    t.exports = function (t) {
        var e = new t.constructor(t.byteLength);
        return new r(e).set(new r(t)), e
    }
}, function (t, e, n) {
    "use strict";
    Object.defineProperty(e, "__esModule", {value: !0});
    var r = n(19), o = n(138), i = n(9), a = n(163), u = n(167), s = n(177), c = n(61), l = function () {
        function t(e, n) {
            this._src = e, this.opts = c({}, n, t.DefaultOpts), this.opts.combinedFilter = s.combineFilters(this.opts.filters)
        }

        return t.from = function (t) {
            return new o.default(t)
        }, t.prototype._process = function (t, e) {
            var n = e.quantizer, o = e.generator;
            return t.scaleDown(e), t.applyFilter(e.combinedFilter).then(function (t) {
                return n(t.data, e)
            }).then(function (t) {
                return r.Swatch.applyFilter(t, e.combinedFilter)
            }).then(function (t) {
                return Promise.resolve(o(t))
            })
        }, t.prototype.palette = function () {
            return this.swatches()
        }, t.prototype.swatches = function () {
            return this._palette
        }, t.prototype.getPalette = function (t) {
            var e = this, n = new this.opts.ImageClass, r = n.load(this._src).then(function (t) {
                return e._process(t, e.opts)
            }).then(function (t) {
                return e._palette = t, n.remove(), t
            }, function (t) {
                throw n.remove(), t
            });
            return t && r.then(function (e) {
                return t(null, e)
            }, function (e) {
                return t(e)
            }), r
        }, t.Builder = o.default, t.Quantizer = a, t.Generator = u, t.Filter = s, t.Util = i, t.DefaultOpts = {
            colorCount: 64,
            quality: 5,
            generator: u.Default,
            ImageClass: null,
            quantizer: a.MMCQ,
            filters: [s.Default]
        }, t
    }();
    e.default = l
}, function (t, e) {
    t.exports = function (t, e) {
        for (var n = -1, r = null == t ? 0 : t.length, o = 0, i = []; ++n < r;) {
            var a = t[n];
            e(a, n, t) && (i[o++] = a)
        }
        return i
    }
}, function (t, e, n) {
    var r = n(71), o = n(38), i = n(1), a = n(20), u = n(21), s = n(41), c = Object.prototype.hasOwnProperty;
    t.exports = function (t, e) {
        var n = i(t), l = !n && o(t), f = !n && !l && a(t), h = !n && !l && !f && s(t), p = n || l || f || h,
            d = p ? r(t.length, String) : [], v = d.length;
        for (var g in t) !e && !c.call(t, g) || p && ("length" == g || f && ("offset" == g || "parent" == g) || h && ("buffer" == g || "byteLength" == g || "byteOffset" == g) || u(g, v)) || d.push(g);
        return d
    }
}, function (t, e, n) {
    var r = n(72), o = n(2), i = Object.prototype, a = i.hasOwnProperty, u = i.propertyIsEnumerable, s = r(function () {
        return arguments
    }()) ? r : function (t) {
        return o(t) && a.call(t, "callee") && !u.call(t, "callee")
    };
    t.exports = s
}, function (t, e, n) {
    (function (e) {
        var n = "object" == typeof e && e && e.Object === Object && e;
        t.exports = n
    }).call(this, n(40))
}, function (t, e) {
    var n;
    n = function () {
        return this
    }();
    try {
        n = n || new Function("return this")()
    } catch (t) {
        "object" == typeof window && (n = window)
    }
    t.exports = n
}, function (t, e, n) {
    var r = n(76), o = n(23), i = n(24), a = i && i.isTypedArray, u = a ? o(a) : r;
    t.exports = u
}, function (t, e) {
    t.exports = function (t, e) {
        return function (n) {
            return t(e(n))
        }
    }
}, function (t, e, n) {
    var r = n(6), o = n(3), i = "[object AsyncFunction]", a = "[object Function]", u = "[object GeneratorFunction]",
        s = "[object Proxy]";
    t.exports = function (t) {
        if (!o(t)) return !1;
        var e = r(t);
        return e == a || e == u || e == i || e == s
    }
}, function (t, e) {
    var n = Function.prototype.toString;
    t.exports = function (t) {
        if (null != t) {
            try {
                return n.call(t)
            } catch (t) {
            }
            try {
                return t + ""
            } catch (t) {
            }
        }
        return ""
    }
}, function (t, e, n) {
    var r = n(109), o = n(2);
    t.exports = function t(e, n, i, a, u) {
        return e === n || (null == e || null == n || !o(e) && !o(n) ? e != e && n != n : r(e, n, i, a, t, u))
    }
}, function (t, e, n) {
    var r = n(110), o = n(113), i = n(114), a = 1, u = 2;
    t.exports = function (t, e, n, s, c, l) {
        var f = n & a, h = t.length, p = e.length;
        if (h != p && !(f && p > h)) return !1;
        var d = l.get(t);
        if (d && l.get(e)) return d == e;
        var v = -1, g = !0, b = n & u ? new r : void 0;
        for (l.set(t, e), l.set(e, t); ++v < h;) {
            var y = t[v], m = e[v];
            if (s) var x = f ? s(m, y, v, e, t, l) : s(y, m, v, t, e, l);
            if (void 0 !== x) {
                if (x) continue;
                g = !1;
                break
            }
            if (b) {
                if (!o(e, function (t, e) {
                    if (!i(b, e) && (y === t || c(y, t, n, s, l))) return b.push(e)
                })) {
                    g = !1;
                    break
                }
            } else if (y !== m && !c(y, m, n, s, l)) {
                g = !1;
                break
            }
        }
        return l.delete(t), l.delete(e), g
    }
}, function (t, e, n) {
    var r = n(0).Uint8Array;
    t.exports = r
}, function (t, e, n) {
    var r = n(49), o = n(29), i = n(5);
    t.exports = function (t) {
        return r(t, i, o)
    }
}, function (t, e, n) {
    var r = n(50), o = n(1);
    t.exports = function (t, e, n) {
        var i = e(t);
        return o(t) ? i : r(i, n(t))
    }
}, function (t, e) {
    t.exports = function (t, e) {
        for (var n = -1, r = e.length, o = t.length; ++n < r;) t[o + n] = e[n];
        return t
    }
}, function (t, e) {
    t.exports = function () {
        return []
    }
}, function (t, e, n) {
    var r = n(3);
    t.exports = function (t) {
        return t == t && !r(t)
    }
}, function (t, e) {
    t.exports = function (t, e) {
        return function (n) {
            return null != n && n[t] === e && (void 0 !== e || t in Object(n))
        }
    }
}, function (t, e, n) {
    var r = n(55), o = n(17);
    t.exports = function (t, e) {
        for (var n = 0, i = (e = r(e, t)).length; null != t && n < i;) t = t[o(e[n++])];
        return n && n == i ? t : void 0
    }
}, function (t, e, n) {
    var r = n(1), o = n(30), i = n(126), a = n(129);
    t.exports = function (t, e) {
        return r(t) ? t : o(t, e) ? [t] : i(a(t))
    }
}, function (t, e, n) {
    var r = n(57), o = n(8), i = Object.prototype.hasOwnProperty;
    t.exports = function (t, e, n) {
        var a = t[e];
        i.call(t, e) && o(a, n) && (void 0 !== n || e in t) || r(t, e, n)
    }
}, function (t, e, n) {
    var r = n(58);
    t.exports = function (t, e, n) {
        "__proto__" == e && r ? r(t, e, {configurable: !0, enumerable: !0, value: n, writable: !0}) : t[e] = n
    }
}, function (t, e, n) {
    var r = n(4), o = function () {
        try {
            var t = r(Object, "defineProperty");
            return t({}, "", {}), t
        } catch (t) {
        }
    }();
    t.exports = o
}, function (t, e, n) {
    var r = n(50), o = n(60), i = n(29), a = n(51), u = Object.getOwnPropertySymbols ? function (t) {
        for (var e = []; t;) r(e, i(t)), t = o(t);
        return e
    } : a;
    t.exports = u
}, function (t, e, n) {
    var r = n(42)(Object.getPrototypeOf, Object);
    t.exports = r
}, function (t, e, n) {
    var r = n(169), o = n(8), i = n(176), a = n(33), u = Object.prototype, s = u.hasOwnProperty, c = r(function (t, e) {
        t = Object(t);
        var n = -1, r = e.length, c = r > 2 ? e[2] : void 0;
        for (c && i(e[0], e[1], c) && (r = 1); ++n < r;) for (var l = e[n], f = a(l), h = -1, p = f.length; ++h < p;) {
            var d = f[h], v = t[d];
            (void 0 === v || o(v, u[d]) && !s.call(t, d)) && (t[d] = l[d])
        }
        return t
    });
    t.exports = c
}, function (t, e, n) {
    "use strict";
    Object.defineProperty(e, "__esModule", {value: !0});
    var r = function () {
        function t(t, e) {
            for (var n = 0; n < e.length; n++) {
                var r = e[n];
                r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(t, r.key, r)
            }
        }

        return function (e, n, r) {
            return n && t(e.prototype, n), r && t(e, r), e
        }
    }();
    n(187);
    var o, i = n(63), a = n(64), u = (o = a) && o.__esModule ? o : {default: o};
    var s = function () {
        function t(e) {
            !function (t, e) {
                if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function")
            }(this, t);
            document.getElementById("d-audio-content") ? console.error("you have already init d-auido, do not init again") : (this.opt = Object.assign({
                ele: "#d-audio",
                imageurl: "https://www.daiwei.site/static/logo/sunmmer.jpg",
                src: "",
                name: "",
                singer: "",
                showprogress: !0,
                initstate: "",
                loop: !1,
                ended: function () {
                },
                next: function () {
                }
            }, e), "string" == typeof this.opt.ele && (this.opt.ele = document.querySelector(this.opt.ele)), this.loading = !1, this.isplaying = !1, this.progress = 0, this.height = this.opt.ele.offsetHeight || 50, this.duration = 0, this.currentTime = 0, this.defaultimg = "https://www.daiwei.site/static/logo/sunmmer.jpg", this.dom = {
                cricleImage: null,
                playPause: null,
                next: null,
                audioTitle: null,
                audioSinger: null
            }, this.initAudio(), this.initEvent())
        }

        return r(t, [{
            key: "initAudio", value: function () {
                var t = this.dom;
                t.audioContent = document.createElement("div"), "cricle" === this.opt.initstate ? (t.audioContent.className = "audio-content " + this.opt.initstate, t.audioContent.style.width = this.height + "px") : t.audioContent.className = "audio-content", t.audioContent.setAttribute("id", "d-audio-content"), this.opt.ele.appendChild(t.audioContent), t.audioCricle = document.createElement("div"), t.audioCricle.className = "audio-cricle", t.audioCricle.title = this.opt.name + " - " + this.opt.singer, t.audioCricle.innerHTML = '<img id="d-audio-cricleImage" src=' + (this.opt.imageurl || this.defaultimg) + ">", t.audioCricle.style.cssText = "width: " + this.height + "px; height: " + this.height + "px;", t.audioContent.appendChild(t.audioCricle), t.audioCricleRange = document.createElement("div"), t.audioCricleRange.className = "d-audio-cricle-range", t.audioCricle.appendChild(t.audioCricleRange), t.audioDetail = document.createElement("div"), t.audioDetail.className = "audio-detail", t.audioDetail.innerHTML = '<div class="left-config">\n                                      <i id="d-audio-playPause" class="pause icon-pause"></i>\n                                      <i id="d-audio-next" class="next icon-next"></i>\n                                    </div>\n                                    <div class="right-info">\n                                      <h3 id="d-audio-audioTitle" class="m-media_name">' + this.opt.name + '</h3>\n                                      <p id="d-audio-audioSinger" class="m-singer">' + this.opt.singer + "</p>\n                                    </div>", t.audioContent.appendChild(t.audioDetail), t.audioBg = document.createElement("div"), t.audioBg.className = "audio-bg", t.audioBg.style.cssText = 'background-image: url("' + (this.opt.imageurl || this.defaultimg) + '");background-size: cover;background-position: center;', t.audioContent.appendChild(t.audioBg), t.audioLoading = document.createElement("div"), t.audioLoading.className = "audio-loading", t.audioLoading.innerHTML = '<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"  width="200px" height="200px"  viewBox="0 0 200 200"\n                                    xml:space="preserve">\n                                    \x3c!--#4886CD为深色值   #9DBFE4为中间值 可以随意修改--\x3e  \n                                    <style type="text/css">\n                                    .left{fill:url(#left);}\n                                    .right{fill:url(#right);}\n                                    .top{fill:rgba(72, 134, 205, 0.781);}\n                                    @keyframes load{\n                                    0%{transform:rotate(0)}\n                                    100%{transform:rotate(-360deg)}\n                                    }\n                                    #load{animation:load 1s  linear infinite; transform-origin:center center; } \n                                    </style>\n                                    <g id="load">\n                                    <linearGradient id="right" gradientUnits="userSpaceOnUse" x1="150" y1="20" x2="150" y2="180">\n                                    <stop  offset="0" style="stop-color:rgba(72, 134, 205, 0.849)"/>\n                                    <stop  offset="1" style="stop-color:rgba(157, 191, 228, 0.788)"/>\x3c!--蓝到浅蓝渐变--\x3e\n                                    </linearGradient>\n                                    <path class="right" d="M100,0v20c44.1,0,80,35.9,80,80c0,44.1-35.9,80-80,80v20c55.2,0,100-44.8,100-100S155.2,0,100,0z"/>\x3c!--右半圆环--\x3e\n                                    <linearGradient id="left" gradientUnits="userSpaceOnUse" x1="50" y1="0" x2="50" y2="180">\n                                    <stop  offset="0" style="stop-color:rgba(255, 255, 255, 0.808)"/>\n                                    <stop  offset="1" style="stop-color:rgba(157, 191, 228, 0.767)"/>\x3c!--浅蓝到白色渐变--\x3e\n                                    </linearGradient>\n                                    <path class="left" d="M20,100c0-44.1,35.9-80,80-80V0C44.8,0,0,44.8,0,100s44.8,100,100,100v-20C55.9,180,20,144.1,20,100z"/>\x3c!--左半圆环--\x3e\n                                    <circle class="top" cx="100" cy="10" r="10"/>\n                                    </g>\n                                  </svg>', t.audioContent.appendChild(t.audioLoading), this.opt.showprogress && (t.audioProgress = document.createElement("div"), t.audioProgress.className = "audio-progress", t.audioContent.appendChild(t.audioProgress)), t.audioEle = document.createElement("audio"), t.audioEle.src = this.opt.src, this.opt.loop && (t.audioEle.loop = !0), t.audioContent.appendChild(t.audioEle), this.initMusicColor(this.opt.imageurl || this.defaultimg), this.initDomInfo()
            }
        }, {
            key: "initDomInfo", value: function () {
                this.dom.cricleImage = document.getElementById("d-audio-cricleImage"), this.dom.playPause = document.getElementById("d-audio-playPause"), this.dom.next = document.getElementById("d-audio-next"), this.dom.audioTitle = document.getElementById("d-audio-audioTitle"), this.dom.audioSinger = document.getElementById("d-audio-audioSinger")
            }
        }, {
            key: "initMusicColor", value: function (t) {
                var e = this.dom, n = document.getElementsByClassName("d-audio-cricle-range")[0];
                if (this.opt.showprogress) {
                    var r = {};
                    u.default.from(t).getPalette().then(function (t) {
                        r.l = "rgba(" + t.LightMuted.r + ", " + t.LightMuted.g + ", " + t.LightMuted.b + ", 0.1)", r.r = "rgba(" + t.LightMuted.r + ", " + t.LightMuted.g + ", " + t.LightMuted.b + ", 0.66)", r.range = "rgba(" + t.LightMuted.r + ", " + t.LightMuted.g + ", " + t.LightMuted.b + ", 0.3)", n.style.border = "3px solid " + r.range, e.audioProgress.style.background = "linear-gradient(to right, " + r.l + " 30%, " + r.r + ")"
                    }, function (t) {
                        r.l = "rgba(255, 56, 56, 0.1)", r.r = "rgba(255, 56, 56, 0.6)", r.range = "rgba(255, 56, 56, 0.3)", n.style.border = "3px solid " + r.range, e.audioProgress.style.background = "linear-gradient(to right, " + r.l + " 30%, " + r.r + ")"
                    })
                }
            }
        }, {
            key: "initEvent", value: function () {
                var t = this, e = this.dom, n = this;
                e.audioCricle.onclick = function () {
                    i.dom.removeClass(e.audioContent, "cricle")
                }, e.audioDetail.onclick = function () {
                    i.dom.addClass(e.audioContent, "cricle"), e.audioContent.style.width = t.height + "px"
                }, e.playPause.onclick = function (t) {
                    t.stopPropagation(), n.playPause()
                }, e.next.onclick = function (t) {
                    t.stopPropagation(), n.opt.next()
                }, e.audioEle.onplaying = function (r) {
                    n.isplaying = !0, i.dom.addClass(e.audioCricle, "active"), i.dom.removeClass(e.playPause, "icon-pause"), i.dom.addClass(e.playPause, "icon-play"), t.hideLoading()
                }, e.audioEle.onpause = function (t) {
                    n.isplaying = !1, i.dom.removeClass(e.audioCricle, "active"), i.dom.removeClass(e.playPause, "icon-play"), i.dom.addClass(e.playPause, "icon-pause")
                }, e.audioEle.onended = function () {
                    i.dom.removeClass(e.playPause, "icon-pause"), i.dom.addClass(e.playPause, "icon-play"), n.opt.next()
                }, e.audioEle.oncanplay = function () {
                    n.loading = !1, n.duration = e.audioEle.duration
                }, this.opt.showprogress && (e.audioEle.ontimeupdate = function (t) {
                    n.updateProgress(t.target.currentTime)
                }), e.audioEle.onwaiting = function () {
                    n.showLoading()
                }, e.audioEle.onerror = function (t) {
                    console.error(t), n.opt.next()
                }
            }
        }, {
            key: "checkAudio", value: function (t) {
                var e = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : this.defaultimg,
                    n = arguments[2], r = arguments[3], o = this.dom;
                o.audioEle.src = t, o.cricleImage.src = e, o.audioBg.style.cssText = 'background-image: url("' + e + '");background-size: cover;background-position: center;', o.audioTitle.innerText = n, o.audioSinger.innerText = r, o.audioCricle.title = n + " - " + r, this.initMusicColor(e), this.play()
            }
        }, {
            key: "playPause", value: function () {
                this.dom.audioEle.paused ? this.play() : this.pause()
            }
        }, {
            key: "play", value: function () {
                this.dom.audioEle.play()
            }
        }, {
            key: "pause", value: function () {
                this.dom.audioEle.pause()
            }
        }, {
            key: "updateProgress", value: function (t) {
                var e = this.dom;
                this.currentTime = t, this.progress = this.currentTime / this.duration, e.audioProgress.style.width = 100 * this.progress + "%"
            }
        }, {
            key: "showLoading", value: function () {
                this.loading = !0, i.dom.addClass(this.dom.audioLoading, "active")
            }
        }, {
            key: "hideLoading", value: function () {
                this.loading = !1, i.dom.removeClass(this.dom.audioLoading, "active")
            }
        }]), t
    }();
    e.default = s
}, function (t, e, n) {
    "use strict";
    Object.defineProperty(e, "__esModule", {value: !0});
    e.dom = {
        hasClass: function (t, e) {
            return new RegExp("(^|\\s)" + e + "(\\s|$)").test(t.className)
        }, addClass: function (t, e) {
            if (!this.hasClass(t, e)) {
                var n = t.className.split(" ");
                n.push(e), t.className = n.join(" ")
            }
        }, removeClass: function (t, e) {
            if (this.hasClass(t, e)) {
                var n = t.className.split(" ");
                n.forEach(function (t, r, o) {
                    t === e && n.splice(r, 1)
                }), t.className = n
            }
        }, getData: function (t, e, n) {
            n ? t.setAttribute(e, n) : t.getAttribute(e)
        }, addCss: function (t) {
            var e = document.createElement("link");
            e.setAttribute("rel", "stylesheet"), e.setAttribute("type", "text/css"), e.setAttribute("href", t), document.head.appendChild(e)
        }, addJs: function (t) {
            var e = document.createElement("script");
            e.type = "text/script", e.src = t, document.getElementsByTagName("html")[0].appendChild(e)
        }, getScrollWidth: function () {
            var t, e, n = document.createElement("div");
            return n.style.cssText = "position:absolute; top:-1000px; width:100px; height:100px; overflow:hidden;", t = document.body.appendChild(n).clientWidth, n.style.overflowY = "scroll", e = n.clientWidth, document.body.removeChild(n), t - e
        }
    }
}, function (t, e, n) {
    "use strict";
    var r = n(35), o = n(179);
    r.default.DefaultOpts.ImageClass = o.default, t.exports = r.default
}, function (t, e, n) {
    var r = n(36), o = n(66), i = n(80), a = n(1);
    t.exports = function (t, e) {
        return (a(t) ? r : o)(t, i(e, 3))
    }
}, function (t, e, n) {
    var r = n(67);
    t.exports = function (t, e) {
        var n = [];
        return r(t, function (t, r, o) {
            e(t, r, o) && n.push(t)
        }), n
    }
}, function (t, e, n) {
    var r = n(68), o = n(79)(r);
    t.exports = o
}, function (t, e, n) {
    var r = n(69), o = n(5);
    t.exports = function (t, e) {
        return t && r(t, e, o)
    }
}, function (t, e, n) {
    var r = n(70)();
    t.exports = r
}, function (t, e) {
    t.exports = function (t) {
        return function (e, n, r) {
            for (var o = -1, i = Object(e), a = r(e), u = a.length; u--;) {
                var s = a[t ? u : ++o];
                if (!1 === n(i[s], s, i)) break
            }
            return e
        }
    }
}, function (t, e) {
    t.exports = function (t, e) {
        for (var n = -1, r = Array(t); ++n < t;) r[n] = e(n);
        return r
    }
}, function (t, e, n) {
    var r = n(6), o = n(2), i = "[object Arguments]";
    t.exports = function (t) {
        return o(t) && r(t) == i
    }
}, function (t, e, n) {
    var r = n(7), o = Object.prototype, i = o.hasOwnProperty, a = o.toString, u = r ? r.toStringTag : void 0;
    t.exports = function (t) {
        var e = i.call(t, u), n = t[u];
        try {
            t[u] = void 0;
            var r = !0
        } catch (t) {
        }
        var o = a.call(t);
        return r && (e ? t[u] = n : delete t[u]), o
    }
}, function (t, e) {
    var n = Object.prototype.toString;
    t.exports = function (t) {
        return n.call(t)
    }
}, function (t, e) {
    t.exports = function () {
        return !1
    }
}, function (t, e, n) {
    var r = n(6), o = n(22), i = n(2), a = {};
    a["[object Float32Array]"] = a["[object Float64Array]"] = a["[object Int8Array]"] = a["[object Int16Array]"] = a["[object Int32Array]"] = a["[object Uint8Array]"] = a["[object Uint8ClampedArray]"] = a["[object Uint16Array]"] = a["[object Uint32Array]"] = !0, a["[object Arguments]"] = a["[object Array]"] = a["[object ArrayBuffer]"] = a["[object Boolean]"] = a["[object DataView]"] = a["[object Date]"] = a["[object Error]"] = a["[object Function]"] = a["[object Map]"] = a["[object Number]"] = a["[object Object]"] = a["[object RegExp]"] = a["[object Set]"] = a["[object String]"] = a["[object WeakMap]"] = !1, t.exports = function (t) {
        return i(t) && o(t.length) && !!a[r(t)]
    }
}, function (t, e, n) {
    var r = n(25), o = n(78), i = Object.prototype.hasOwnProperty;
    t.exports = function (t) {
        if (!r(t)) return o(t);
        var e = [];
        for (var n in Object(t)) i.call(t, n) && "constructor" != n && e.push(n);
        return e
    }
}, function (t, e, n) {
    var r = n(42)(Object.keys, Object);
    t.exports = r
}, function (t, e, n) {
    var r = n(11);
    t.exports = function (t, e) {
        return function (n, o) {
            if (null == n) return n;
            if (!r(n)) return t(n, o);
            for (var i = n.length, a = e ? i : -1, u = Object(n); (e ? a-- : ++a < i) && !1 !== o(u[a], a, u);) ;
            return n
        }
    }
}, function (t, e, n) {
    var r = n(81), o = n(124), i = n(32), a = n(1), u = n(135);
    t.exports = function (t) {
        return "function" == typeof t ? t : null == t ? i : "object" == typeof t ? a(t) ? o(t[0], t[1]) : r(t) : u(t)
    }
}, function (t, e, n) {
    var r = n(82), o = n(123), i = n(53);
    t.exports = function (t) {
        var e = o(t);
        return 1 == e.length && e[0][2] ? i(e[0][0], e[0][1]) : function (n) {
            return n === t || r(n, t, e)
        }
    }
}, function (t, e, n) {
    var r = n(26), o = n(45), i = 1, a = 2;
    t.exports = function (t, e, n, u) {
        var s = n.length, c = s, l = !u;
        if (null == t) return !c;
        for (t = Object(t); s--;) {
            var f = n[s];
            if (l && f[2] ? f[1] !== t[f[0]] : !(f[0] in t)) return !1
        }
        for (; ++s < c;) {
            var h = (f = n[s])[0], p = t[h], d = f[1];
            if (l && f[2]) {
                if (void 0 === p && !(h in t)) return !1
            } else {
                var v = new r;
                if (u) var g = u(p, d, h, t, e, v);
                if (!(void 0 === g ? o(d, p, i | a, u, v) : g)) return !1
            }
        }
        return !0
    }
}, function (t, e) {
    t.exports = function () {
        this.__data__ = [], this.size = 0
    }
}, function (t, e, n) {
    var r = n(13), o = Array.prototype.splice;
    t.exports = function (t) {
        var e = this.__data__, n = r(e, t);
        return !(n < 0 || (n == e.length - 1 ? e.pop() : o.call(e, n, 1), --this.size, 0))
    }
}, function (t, e, n) {
    var r = n(13);
    t.exports = function (t) {
        var e = this.__data__, n = r(e, t);
        return n < 0 ? void 0 : e[n][1]
    }
}, function (t, e, n) {
    var r = n(13);
    t.exports = function (t) {
        return r(this.__data__, t) > -1
    }
}, function (t, e, n) {
    var r = n(13);
    t.exports = function (t, e) {
        var n = this.__data__, o = r(n, t);
        return o < 0 ? (++this.size, n.push([t, e])) : n[o][1] = e, this
    }
}, function (t, e, n) {
    var r = n(12);
    t.exports = function () {
        this.__data__ = new r, this.size = 0
    }
}, function (t, e) {
    t.exports = function (t) {
        var e = this.__data__, n = e.delete(t);
        return this.size = e.size, n
    }
}, function (t, e) {
    t.exports = function (t) {
        return this.__data__.get(t)
    }
}, function (t, e) {
    t.exports = function (t) {
        return this.__data__.has(t)
    }
}, function (t, e, n) {
    var r = n(12), o = n(27), i = n(28), a = 200;
    t.exports = function (t, e) {
        var n = this.__data__;
        if (n instanceof r) {
            var u = n.__data__;
            if (!o || u.length < a - 1) return u.push([t, e]), this.size = ++n.size, this;
            n = this.__data__ = new i(u)
        }
        return n.set(t, e), this.size = n.size, this
    }
}, function (t, e, n) {
    var r = n(43), o = n(94), i = n(3), a = n(44), u = /^\[object .+?Constructor\]$/, s = Function.prototype,
        c = Object.prototype, l = s.toString, f = c.hasOwnProperty,
        h = RegExp("^" + l.call(f).replace(/[\\^$.*+?()[\]{}|]/g, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
    t.exports = function (t) {
        return !(!i(t) || o(t)) && (r(t) ? h : u).test(a(t))
    }
}, function (t, e, n) {
    var r, o = n(95), i = (r = /[^.]+$/.exec(o && o.keys && o.keys.IE_PROTO || "")) ? "Symbol(src)_1." + r : "";
    t.exports = function (t) {
        return !!i && i in t
    }
}, function (t, e, n) {
    var r = n(0)["__core-js_shared__"];
    t.exports = r
}, function (t, e) {
    t.exports = function (t, e) {
        return null == t ? void 0 : t[e]
    }
}, function (t, e, n) {
    var r = n(98), o = n(12), i = n(27);
    t.exports = function () {
        this.size = 0, this.__data__ = {hash: new r, map: new (i || o), string: new r}
    }
}, function (t, e, n) {
    var r = n(99), o = n(100), i = n(101), a = n(102), u = n(103);

    function s(t) {
        var e = -1, n = null == t ? 0 : t.length;
        for (this.clear(); ++e < n;) {
            var r = t[e];
            this.set(r[0], r[1])
        }
    }

    s.prototype.clear = r, s.prototype.delete = o, s.prototype.get = i, s.prototype.has = a, s.prototype.set = u, t.exports = s
}, function (t, e, n) {
    var r = n(14);
    t.exports = function () {
        this.__data__ = r ? r(null) : {}, this.size = 0
    }
}, function (t, e) {
    t.exports = function (t) {
        var e = this.has(t) && delete this.__data__[t];
        return this.size -= e ? 1 : 0, e
    }
}, function (t, e, n) {
    var r = n(14), o = "__lodash_hash_undefined__", i = Object.prototype.hasOwnProperty;
    t.exports = function (t) {
        var e = this.__data__;
        if (r) {
            var n = e[t];
            return n === o ? void 0 : n
        }
        return i.call(e, t) ? e[t] : void 0
    }
}, function (t, e, n) {
    var r = n(14), o = Object.prototype.hasOwnProperty;
    t.exports = function (t) {
        var e = this.__data__;
        return r ? void 0 !== e[t] : o.call(e, t)
    }
}, function (t, e, n) {
    var r = n(14), o = "__lodash_hash_undefined__";
    t.exports = function (t, e) {
        var n = this.__data__;
        return this.size += this.has(t) ? 0 : 1, n[t] = r && void 0 === e ? o : e, this
    }
}, function (t, e, n) {
    var r = n(15);
    t.exports = function (t) {
        var e = r(this, t).delete(t);
        return this.size -= e ? 1 : 0, e
    }
}, function (t, e) {
    t.exports = function (t) {
        var e = typeof t;
        return "string" == e || "number" == e || "symbol" == e || "boolean" == e ? "__proto__" !== t : null === t
    }
}, function (t, e, n) {
    var r = n(15);
    t.exports = function (t) {
        return r(this, t).get(t)
    }
}, function (t, e, n) {
    var r = n(15);
    t.exports = function (t) {
        return r(this, t).has(t)
    }
}, function (t, e, n) {
    var r = n(15);
    t.exports = function (t, e) {
        var n = r(this, t), o = n.size;
        return n.set(t, e), this.size += n.size == o ? 0 : 1, this
    }
}, function (t, e, n) {
    var r = n(26), o = n(46), i = n(115), a = n(118), u = n(16), s = n(1), c = n(20), l = n(41), f = 1,
        h = "[object Arguments]", p = "[object Array]", d = "[object Object]", v = Object.prototype.hasOwnProperty;
    t.exports = function (t, e, n, g, b, y) {
        var m = s(t), x = s(e), _ = m ? p : u(t), j = x ? p : u(e), w = (_ = _ == h ? d : _) == d,
            O = (j = j == h ? d : j) == d, C = _ == j;
        if (C && c(t)) {
            if (!c(e)) return !1;
            m = !0, w = !1
        }
        if (C && !w) return y || (y = new r), m || l(t) ? o(t, e, n, g, b, y) : i(t, e, _, n, g, b, y);
        if (!(n & f)) {
            var S = w && v.call(t, "__wrapped__"), M = O && v.call(e, "__wrapped__");
            if (S || M) {
                var A = S ? t.value() : t, P = M ? e.value() : e;
                return y || (y = new r), b(A, P, n, g, y)
            }
        }
        return !!C && (y || (y = new r), a(t, e, n, g, b, y))
    }
}, function (t, e, n) {
    var r = n(28), o = n(111), i = n(112);

    function a(t) {
        var e = -1, n = null == t ? 0 : t.length;
        for (this.__data__ = new r; ++e < n;) this.add(t[e])
    }

    a.prototype.add = a.prototype.push = o, a.prototype.has = i, t.exports = a
}, function (t, e) {
    var n = "__lodash_hash_undefined__";
    t.exports = function (t) {
        return this.__data__.set(t, n), this
    }
}, function (t, e) {
    t.exports = function (t) {
        return this.__data__.has(t)
    }
}, function (t, e) {
    t.exports = function (t, e) {
        for (var n = -1, r = null == t ? 0 : t.length; ++n < r;) if (e(t[n], n, t)) return !0;
        return !1
    }
}, function (t, e) {
    t.exports = function (t, e) {
        return t.has(e)
    }
}, function (t, e, n) {
    var r = n(7), o = n(47), i = n(8), a = n(46), u = n(116), s = n(117), c = 1, l = 2, f = "[object Boolean]",
        h = "[object Date]", p = "[object Error]", d = "[object Map]", v = "[object Number]", g = "[object RegExp]",
        b = "[object Set]", y = "[object String]", m = "[object Symbol]", x = "[object ArrayBuffer]",
        _ = "[object DataView]", j = r ? r.prototype : void 0, w = j ? j.valueOf : void 0;
    t.exports = function (t, e, n, r, j, O, C) {
        switch (n) {
            case _:
                if (t.byteLength != e.byteLength || t.byteOffset != e.byteOffset) return !1;
                t = t.buffer, e = e.buffer;
            case x:
                return !(t.byteLength != e.byteLength || !O(new o(t), new o(e)));
            case f:
            case h:
            case v:
                return i(+t, +e);
            case p:
                return t.name == e.name && t.message == e.message;
            case g:
            case y:
                return t == e + "";
            case d:
                var S = u;
            case b:
                var M = r & c;
                if (S || (S = s), t.size != e.size && !M) return !1;
                var A = C.get(t);
                if (A) return A == e;
                r |= l, C.set(t, e);
                var P = a(S(t), S(e), r, j, O, C);
                return C.delete(t), P;
            case m:
                if (w) return w.call(t) == w.call(e)
        }
        return !1
    }
}, function (t, e) {
    t.exports = function (t) {
        var e = -1, n = Array(t.size);
        return t.forEach(function (t, r) {
            n[++e] = [r, t]
        }), n
    }
}, function (t, e) {
    t.exports = function (t) {
        var e = -1, n = Array(t.size);
        return t.forEach(function (t) {
            n[++e] = t
        }), n
    }
}, function (t, e, n) {
    var r = n(48), o = 1, i = Object.prototype.hasOwnProperty;
    t.exports = function (t, e, n, a, u, s) {
        var c = n & o, l = r(t), f = l.length;
        if (f != r(e).length && !c) return !1;
        for (var h = f; h--;) {
            var p = l[h];
            if (!(c ? p in e : i.call(e, p))) return !1
        }
        var d = s.get(t);
        if (d && s.get(e)) return d == e;
        var v = !0;
        s.set(t, e), s.set(e, t);
        for (var g = c; ++h < f;) {
            var b = t[p = l[h]], y = e[p];
            if (a) var m = c ? a(y, b, p, e, t, s) : a(b, y, p, t, e, s);
            if (!(void 0 === m ? b === y || u(b, y, n, a, s) : m)) {
                v = !1;
                break
            }
            g || (g = "constructor" == p)
        }
        if (v && !g) {
            var x = t.constructor, _ = e.constructor;
            x != _ && "constructor" in t && "constructor" in e && !("function" == typeof x && x instanceof x && "function" == typeof _ && _ instanceof _) && (v = !1)
        }
        return s.delete(t), s.delete(e), v
    }
}, function (t, e, n) {
    var r = n(4)(n(0), "DataView");
    t.exports = r
}, function (t, e, n) {
    var r = n(4)(n(0), "Promise");
    t.exports = r
}, function (t, e, n) {
    var r = n(4)(n(0), "Set");
    t.exports = r
}, function (t, e, n) {
    var r = n(4)(n(0), "WeakMap");
    t.exports = r
}, function (t, e, n) {
    var r = n(52), o = n(5);
    t.exports = function (t) {
        for (var e = o(t), n = e.length; n--;) {
            var i = e[n], a = t[i];
            e[n] = [i, a, r(a)]
        }
        return e
    }
}, function (t, e, n) {
    var r = n(45), o = n(125), i = n(132), a = n(30), u = n(52), s = n(53), c = n(17), l = 1, f = 2;
    t.exports = function (t, e) {
        return a(t) && u(e) ? s(c(t), e) : function (n) {
            var a = o(n, t);
            return void 0 === a && a === e ? i(n, t) : r(e, a, l | f)
        }
    }
}, function (t, e, n) {
    var r = n(54);
    t.exports = function (t, e, n) {
        var o = null == t ? void 0 : r(t, e);
        return void 0 === o ? n : o
    }
}, function (t, e, n) {
    var r = n(127),
        o = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,
        i = /\\(\\)?/g, a = r(function (t) {
            var e = [];
            return 46 === t.charCodeAt(0) && e.push(""), t.replace(o, function (t, n, r, o) {
                e.push(r ? o.replace(i, "$1") : n || t)
            }), e
        });
    t.exports = a
}, function (t, e, n) {
    var r = n(128), o = 500;
    t.exports = function (t) {
        var e = r(t, function (t) {
            return n.size === o && n.clear(), t
        }), n = e.cache;
        return e
    }
}, function (t, e, n) {
    var r = n(28), o = "Expected a function";

    function i(t, e) {
        if ("function" != typeof t || null != e && "function" != typeof e) throw new TypeError(o);
        var n = function () {
            var r = arguments, o = e ? e.apply(this, r) : r[0], i = n.cache;
            if (i.has(o)) return i.get(o);
            var a = t.apply(this, r);
            return n.cache = i.set(o, a) || i, a
        };
        return n.cache = new (i.Cache || r), n
    }

    i.Cache = r, t.exports = i
}, function (t, e, n) {
    var r = n(130);
    t.exports = function (t) {
        return null == t ? "" : r(t)
    }
}, function (t, e, n) {
    var r = n(7), o = n(131), i = n(1), a = n(31), u = 1 / 0, s = r ? r.prototype : void 0, c = s ? s.toString : void 0;
    t.exports = function t(e) {
        if ("string" == typeof e) return e;
        if (i(e)) return o(e, t) + "";
        if (a(e)) return c ? c.call(e) : "";
        var n = e + "";
        return "0" == n && 1 / e == -u ? "-0" : n
    }
}, function (t, e) {
    t.exports = function (t, e) {
        for (var n = -1, r = null == t ? 0 : t.length, o = Array(r); ++n < r;) o[n] = e(t[n], n, t);
        return o
    }
}, function (t, e, n) {
    var r = n(133), o = n(134);
    t.exports = function (t, e) {
        return null != t && o(t, e, r)
    }
}, function (t, e) {
    t.exports = function (t, e) {
        return null != t && e in Object(t)
    }
}, function (t, e, n) {
    var r = n(55), o = n(38), i = n(1), a = n(21), u = n(22), s = n(17);
    t.exports = function (t, e, n) {
        for (var c = -1, l = (e = r(e, t)).length, f = !1; ++c < l;) {
            var h = s(e[c]);
            if (!(f = null != t && n(t, h))) break;
            t = t[h]
        }
        return f || ++c != l ? f : !!(l = null == t ? 0 : t.length) && u(l) && a(h, l) && (i(t) || o(t))
    }
}, function (t, e, n) {
    var r = n(136), o = n(137), i = n(30), a = n(17);
    t.exports = function (t) {
        return i(t) ? r(a(t)) : o(t)
    }
}, function (t, e) {
    t.exports = function (t) {
        return function (e) {
            return null == e ? void 0 : e[t]
        }
    }
}, function (t, e, n) {
    var r = n(54);
    t.exports = function (t) {
        return function (e) {
            return r(e, t)
        }
    }
}, function (t, e, n) {
    "use strict";
    Object.defineProperty(e, "__esModule", {value: !0});
    var r = n(35), o = n(139), i = function () {
        function t(t, e) {
            void 0 === e && (e = {}), this._src = t, this._opts = e, this._opts.filters = o(r.default.DefaultOpts.filters)
        }

        return t.prototype.maxColorCount = function (t) {
            return this._opts.colorCount = t, this
        }, t.prototype.maxDimension = function (t) {
            return this._opts.maxDimension = t, this
        }, t.prototype.addFilter = function (t) {
            return this._opts.filters.push(t), this
        }, t.prototype.removeFilter = function (t) {
            var e = this._opts.filters.indexOf(t);
            return e > 0 && this._opts.filters.splice(e), this
        }, t.prototype.clearFilters = function () {
            return this._opts.filters = [], this
        }, t.prototype.quality = function (t) {
            return this._opts.quality = t, this
        }, t.prototype.useImageClass = function (t) {
            return this._opts.ImageClass = t, this
        }, t.prototype.useGenerator = function (t) {
            return this._opts.generator = t, this
        }, t.prototype.useQuantizer = function (t) {
            return this._opts.quantizer = t, this
        }, t.prototype.build = function () {
            return new r.default(this._src, this._opts)
        }, t.prototype.getPalette = function (t) {
            return this.build().getPalette(t)
        }, t.prototype.getSwatches = function (t) {
            return this.build().getPalette(t)
        }, t
    }();
    e.default = i
}, function (t, e, n) {
    var r = n(140), o = 4;
    t.exports = function (t) {
        return r(t, o)
    }
}, function (t, e, n) {
    var r = n(26), o = n(141), i = n(56), a = n(142), u = n(143), s = n(146), c = n(147), l = n(148), f = n(149),
        h = n(48), p = n(150), d = n(16), v = n(151), g = n(152), b = n(157), y = n(1), m = n(20), x = n(159), _ = n(3),
        j = n(161), w = n(5), O = 1, C = 2, S = 4, M = "[object Arguments]", A = "[object Function]",
        P = "[object GeneratorFunction]", I = "[object Object]", T = {};
    T[M] = T["[object Array]"] = T["[object ArrayBuffer]"] = T["[object DataView]"] = T["[object Boolean]"] = T["[object Date]"] = T["[object Float32Array]"] = T["[object Float64Array]"] = T["[object Int8Array]"] = T["[object Int16Array]"] = T["[object Int32Array]"] = T["[object Map]"] = T["[object Number]"] = T[I] = T["[object RegExp]"] = T["[object Set]"] = T["[object String]"] = T["[object Symbol]"] = T["[object Uint8Array]"] = T["[object Uint8ClampedArray]"] = T["[object Uint16Array]"] = T["[object Uint32Array]"] = !0, T["[object Error]"] = T[A] = T["[object WeakMap]"] = !1, t.exports = function t(e, n, L, E, k, D) {
        var F, V = n & O, z = n & C, U = n & S;
        if (L && (F = k ? L(e, E, k, D) : L(e)), void 0 !== F) return F;
        if (!_(e)) return e;
        var N = y(e);
        if (N) {
            if (F = v(e), !V) return c(e, F)
        } else {
            var R = d(e), q = R == A || R == P;
            if (m(e)) return s(e, V);
            if (R == I || R == M || q && !k) {
                if (F = z || q ? {} : b(e), !V) return z ? f(e, u(F, e)) : l(e, a(F, e))
            } else {
                if (!T[R]) return k ? e : {};
                F = g(e, R, V)
            }
        }
        D || (D = new r);
        var B = D.get(e);
        if (B) return B;
        if (D.set(e, F), j(e)) return e.forEach(function (r) {
            F.add(t(r, n, L, r, e, D))
        }), F;
        if (x(e)) return e.forEach(function (r, o) {
            F.set(o, t(r, n, L, o, e, D))
        }), F;
        var H = U ? z ? p : h : z ? keysIn : w, G = N ? void 0 : H(e);
        return o(G || e, function (r, o) {
            G && (r = e[o = r]), i(F, o, t(r, n, L, o, e, D))
        }), F
    }
}, function (t, e) {
    t.exports = function (t, e) {
        for (var n = -1, r = null == t ? 0 : t.length; ++n < r && !1 !== e(t[n], n, t);) ;
        return t
    }
}, function (t, e, n) {
    var r = n(18), o = n(5);
    t.exports = function (t, e) {
        return t && r(e, o(e), t)
    }
}, function (t, e, n) {
    var r = n(18), o = n(33);
    t.exports = function (t, e) {
        return t && r(e, o(e), t)
    }
}, function (t, e, n) {
    var r = n(3), o = n(25), i = n(145), a = Object.prototype.hasOwnProperty;
    t.exports = function (t) {
        if (!r(t)) return i(t);
        var e = o(t), n = [];
        for (var u in t) ("constructor" != u || !e && a.call(t, u)) && n.push(u);
        return n
    }
}, function (t, e) {
    t.exports = function (t) {
        var e = [];
        if (null != t) for (var n in Object(t)) e.push(n);
        return e
    }
}, function (t, e, n) {
    (function (t) {
        var r = n(0), o = e && !e.nodeType && e, i = o && "object" == typeof t && t && !t.nodeType && t,
            a = i && i.exports === o ? r.Buffer : void 0, u = a ? a.allocUnsafe : void 0;
        t.exports = function (t, e) {
            if (e) return t.slice();
            var n = t.length, r = u ? u(n) : new t.constructor(n);
            return t.copy(r), r
        }
    }).call(this, n(10)(t))
}, function (t, e) {
    t.exports = function (t, e) {
        var n = -1, r = t.length;
        for (e || (e = Array(r)); ++n < r;) e[n] = t[n];
        return e
    }
}, function (t, e, n) {
    var r = n(18), o = n(29);
    t.exports = function (t, e) {
        return r(t, o(t), e)
    }
}, function (t, e, n) {
    var r = n(18), o = n(59);
    t.exports = function (t, e) {
        return r(t, o(t), e)
    }
}, function (t, e, n) {
    var r = n(49), o = n(59), i = n(33);
    t.exports = function (t) {
        return r(t, i, o)
    }
}, function (t, e) {
    var n = Object.prototype.hasOwnProperty;
    t.exports = function (t) {
        var e = t.length, r = new t.constructor(e);
        return e && "string" == typeof t[0] && n.call(t, "index") && (r.index = t.index, r.input = t.input), r
    }
}, function (t, e, n) {
    var r = n(34), o = n(153), i = n(154), a = n(155), u = n(156), s = "[object Boolean]", c = "[object Date]",
        l = "[object Map]", f = "[object Number]", h = "[object RegExp]", p = "[object Set]", d = "[object String]",
        v = "[object Symbol]", g = "[object ArrayBuffer]", b = "[object DataView]", y = "[object Float32Array]",
        m = "[object Float64Array]", x = "[object Int8Array]", _ = "[object Int16Array]", j = "[object Int32Array]",
        w = "[object Uint8Array]", O = "[object Uint8ClampedArray]", C = "[object Uint16Array]",
        S = "[object Uint32Array]";
    t.exports = function (t, e, n) {
        var M = t.constructor;
        switch (e) {
            case g:
                return r(t);
            case s:
            case c:
                return new M(+t);
            case b:
                return o(t, n);
            case y:
            case m:
            case x:
            case _:
            case j:
            case w:
            case O:
            case C:
            case S:
                return u(t, n);
            case l:
                return new M;
            case f:
            case d:
                return new M(t);
            case h:
                return i(t);
            case p:
                return new M;
            case v:
                return a(t)
        }
    }
}, function (t, e, n) {
    var r = n(34);
    t.exports = function (t, e) {
        var n = e ? r(t.buffer) : t.buffer;
        return new t.constructor(n, t.byteOffset, t.byteLength)
    }
}, function (t, e) {
    var n = /\w*$/;
    t.exports = function (t) {
        var e = new t.constructor(t.source, n.exec(t));
        return e.lastIndex = t.lastIndex, e
    }
}, function (t, e, n) {
    var r = n(7), o = r ? r.prototype : void 0, i = o ? o.valueOf : void 0;
    t.exports = function (t) {
        return i ? Object(i.call(t)) : {}
    }
}, function (t, e, n) {
    var r = n(34);
    t.exports = function (t, e) {
        var n = e ? r(t.buffer) : t.buffer;
        return new t.constructor(n, t.byteOffset, t.length)
    }
}, function (t, e, n) {
    var r = n(158), o = n(60), i = n(25);
    t.exports = function (t) {
        return "function" != typeof t.constructor || i(t) ? {} : r(o(t))
    }
}, function (t, e, n) {
    var r = n(3), o = Object.create, i = function () {
        function t() {
        }

        return function (e) {
            if (!r(e)) return {};
            if (o) return o(e);
            t.prototype = e;
            var n = new t;
            return t.prototype = void 0, n
        }
    }();
    t.exports = i
}, function (t, e, n) {
    var r = n(160), o = n(23), i = n(24), a = i && i.isMap, u = a ? o(a) : r;
    t.exports = u
}, function (t, e, n) {
    var r = n(16), o = n(2), i = "[object Map]";
    t.exports = function (t) {
        return o(t) && r(t) == i
    }
}, function (t, e, n) {
    var r = n(162), o = n(23), i = n(24), a = i && i.isSet, u = a ? o(a) : r;
    t.exports = u
}, function (t, e, n) {
    var r = n(16), o = n(2), i = "[object Set]";
    t.exports = function (t) {
        return o(t) && r(t) == i
    }
}, function (t, e, n) {
    "use strict";
    Object.defineProperty(e, "__esModule", {value: !0});
    var r = n(164);
    e.MMCQ = r.default, e.WebWorker = null
}, function (t, e, n) {
    "use strict";
    Object.defineProperty(e, "__esModule", {value: !0});
    var r = n(19), o = n(165), i = n(166);

    function a(t, e) {
        for (var n = t.size(); t.size() < e;) {
            var r = t.pop();
            if (!(r && r.count() > 0)) break;
            var o = r.split(), i = o[0], a = o[1];
            if (t.push(i), a && a.count() > 0 && t.push(a), t.size() === n) break;
            n = t.size()
        }
    }

    e.default = function (t, e) {
        if (0 === t.length || e.colorCount < 2 || e.colorCount > 256) throw new Error("Wrong MMCQ parameters");
        var n = o.default.build(t), u = n.hist, s = (Object.keys(u).length, new i.default(function (t, e) {
            return t.count() - e.count()
        }));
        s.push(n), a(s, .75 * e.colorCount);
        var c = new i.default(function (t, e) {
            return t.count() * t.volume() - e.count() * e.volume()
        });
        return c.contents = s.contents, a(c, e.colorCount - c.size()), function (t) {
            for (var e = []; t.size();) {
                var n = t.pop(), o = n.avg();
                o[0], o[1], o[2], e.push(new r.Swatch(o, n.count()))
            }
            return e
        }(c)
    }
}, function (t, e, n) {
    "use strict";
    Object.defineProperty(e, "__esModule", {value: !0});
    var r = n(9), o = function () {
        function t(t, e, n, r, o, i, a) {
            this._volume = -1, this._count = -1, this.dimension = {
                r1: t,
                r2: e,
                g1: n,
                g2: r,
                b1: o,
                b2: i
            }, this.hist = a
        }

        return t.build = function (e, n) {
            var o, i, a, u, s, c, l, f, h, p = 1 << 3 * r.SIGBITS, d = new Uint32Array(p);
            o = a = s = 0, i = u = c = Number.MAX_VALUE;
            for (var v = e.length / 4, g = 0; g < v;) {
                var b = 4 * g;
                if (g++, l = e[b + 0], f = e[b + 1], h = e[b + 2], 0 !== e[b + 3]) l >>= r.RSHIFT, f >>= r.RSHIFT, h >>= r.RSHIFT, d[r.getColorIndex(l, f, h)] += 1, l > o && (o = l), l < i && (i = l), f > a && (a = f), f < u && (u = f), h > s && (s = h), h < c && (c = h)
            }
            return new t(i, o, u, a, c, s, d)
        }, t.prototype.invalidate = function () {
            this._volume = this._count = -1, this._avg = null
        }, t.prototype.volume = function () {
            if (this._volume < 0) {
                var t = this.dimension, e = t.r1, n = t.r2, r = t.g1, o = t.g2, i = t.b1, a = t.b2;
                this._volume = (n - e + 1) * (o - r + 1) * (a - i + 1)
            }
            return this._volume
        }, t.prototype.count = function () {
            if (this._count < 0) {
                for (var t = this.hist, e = this.dimension, n = e.r1, o = e.r2, i = e.g1, a = e.g2, u = e.b1, s = e.b2, c = 0, l = n; l <= o; l++) for (var f = i; f <= a; f++) for (var h = u; h <= s; h++) {
                    c += t[r.getColorIndex(l, f, h)]
                }
                this._count = c
            }
            return this._count
        }, t.prototype.clone = function () {
            var e = this.hist, n = this.dimension;
            return new t(n.r1, n.r2, n.g1, n.g2, n.b1, n.b2, e)
        }, t.prototype.avg = function () {
            if (!this._avg) {
                var t = this.hist, e = this.dimension, n = e.r1, o = e.r2, i = e.g1, a = e.g2, u = e.b1, s = e.b2,
                    c = 0, l = 1 << 8 - r.SIGBITS, f = void 0, h = void 0, p = void 0;
                f = h = p = 0;
                for (var d = n; d <= o; d++) for (var v = i; v <= a; v++) for (var g = u; g <= s; g++) {
                    var b = t[r.getColorIndex(d, v, g)];
                    c += b, f += b * (d + .5) * l, h += b * (v + .5) * l, p += b * (g + .5) * l
                }
                this._avg = c ? [~~(f / c), ~~(h / c), ~~(p / c)] : [~~(l * (n + o + 1) / 2), ~~(l * (i + a + 1) / 2), ~~(l * (u + s + 1) / 2)]
            }
            return this._avg
        }, t.prototype.contains = function (t) {
            var e = t[0], n = t[1], o = t[2], i = this.dimension, a = i.r1, u = i.r2, s = i.g1, c = i.g2, l = i.b1,
                f = i.b2;
            return e >>= r.RSHIFT, n >>= r.RSHIFT, o >>= r.RSHIFT, e >= a && e <= u && n >= s && n <= c && o >= l && o <= f
        }, t.prototype.split = function () {
            var t = this.hist, e = this.dimension, n = e.r1, o = e.r2, i = e.g1, a = e.g2, u = e.b1, s = e.b2,
                c = this.count();
            if (!c) return [];
            if (1 === c) return [this.clone()];
            var l, f, h = o - n + 1, p = a - i + 1, d = s - u + 1, v = Math.max(h, p, d), g = null;
            l = f = 0;
            var b = null;
            if (v === h) {
                b = "r", g = new Uint32Array(o + 1);
                for (var y = n; y <= o; y++) {
                    l = 0;
                    for (var m = i; m <= a; m++) for (var x = u; x <= s; x++) {
                        l += t[r.getColorIndex(y, m, x)]
                    }
                    f += l, g[y] = f
                }
            } else if (v === p) {
                b = "g", g = new Uint32Array(a + 1);
                for (m = i; m <= a; m++) {
                    l = 0;
                    for (y = n; y <= o; y++) for (x = u; x <= s; x++) {
                        l += t[r.getColorIndex(y, m, x)]
                    }
                    f += l, g[m] = f
                }
            } else {
                b = "b", g = new Uint32Array(s + 1);
                for (x = u; x <= s; x++) {
                    l = 0;
                    for (y = n; y <= o; y++) for (m = i; m <= a; m++) {
                        l += t[r.getColorIndex(y, m, x)]
                    }
                    f += l, g[x] = f
                }
            }
            for (var _ = -1, j = new Uint32Array(g.length), w = 0; w < g.length; w++) {
                var O = g[w];
                _ < 0 && O > f / 2 && (_ = w), j[w] = f - O
            }
            var C = this;
            return function (t) {
                var e = t + "1", n = t + "2", r = C.dimension[e], o = C.dimension[n], i = C.clone(), a = C.clone(),
                    u = _ - r, s = o - _;
                for (u <= s ? (o = Math.min(o - 1, ~~(_ + s / 2)), o = Math.max(0, o)) : (o = Math.max(r, ~~(_ - 1 - u / 2)), o = Math.min(C.dimension[n], o)); !g[o];) o++;
                for (var c = j[o]; !c && g[o - 1];) c = j[--o];
                return i.dimension[n] = o, a.dimension[e] = o + 1, [i, a]
            }(b)
        }, t
    }();
    e.default = o
}, function (t, e, n) {
    "use strict";
    Object.defineProperty(e, "__esModule", {value: !0});
    var r = function () {
        function t(t) {
            this._comparator = t, this.contents = [], this._sorted = !1
        }

        return t.prototype._sort = function () {
            this._sorted || (this.contents.sort(this._comparator), this._sorted = !0)
        }, t.prototype.push = function (t) {
            this.contents.push(t), this._sorted = !1
        }, t.prototype.peek = function (t) {
            return this._sort(), t = "number" == typeof t ? t : this.contents.length - 1, this.contents[t]
        }, t.prototype.pop = function () {
            return this._sort(), this.contents.pop()
        }, t.prototype.size = function () {
            return this.contents.length
        }, t.prototype.map = function (t) {
            return this._sort(), this.contents.map(t)
        }, t
    }();
    e.default = r
}, function (t, e, n) {
    "use strict";
    Object.defineProperty(e, "__esModule", {value: !0});
    var r = n(168);
    e.Default = r.default
}, function (t, e, n) {
    "use strict";
    Object.defineProperty(e, "__esModule", {value: !0});
    var r = n(19), o = n(9), i = n(61), a = {
        targetDarkLuma: .26,
        maxDarkLuma: .45,
        minLightLuma: .55,
        targetLightLuma: .74,
        minNormalLuma: .3,
        targetNormalLuma: .5,
        maxNormalLuma: .7,
        targetMutesSaturation: .3,
        maxMutesSaturation: .4,
        targetVibrantSaturation: 1,
        minVibrantSaturation: .35,
        weightSaturation: 3,
        weightLuma: 6.5,
        weightPopulation: .5
    };

    function u(t, e, n, r, o, i, a, u, s, c) {
        var l = null, f = 0;
        return e.forEach(function (e) {
            var h = e.getHsl(), p = h[1], d = h[2];
            if (p >= u && p <= s && d >= o && d <= i && !function (t, e) {
                return t.Vibrant === e || t.DarkVibrant === e || t.LightVibrant === e || t.Muted === e || t.DarkMuted === e || t.LightMuted === e
            }(t, e)) {
                var v = function (t, e, n, r, o, i, a) {
                    function u(t, e) {
                        return 1 - Math.abs(t - e)
                    }

                    return function () {
                        for (var t = [], e = 0; e < arguments.length; e++) t[e] = arguments[e];
                        for (var n = 0, r = 0, o = 0; o < t.length; o += 2) {
                            var i = t[o], a = t[o + 1];
                            n += i * a, r += a
                        }
                        return n / r
                    }(u(t, e), a.weightSaturation, u(n, r), a.weightLuma, o / i, a.weightPopulation)
                }(p, a, d, r, e.getPopulation(), n, c);
                (null === l || v > f) && (l = e, f = v)
            }
        }), l
    }

    e.default = function (t, e) {
        e = i({}, e, a);
        var n = function (t) {
            var e = 0;
            return t.forEach(function (t) {
                e = Math.max(e, t.getPopulation())
            }), e
        }(t), s = function (t, e, n) {
            var r = {};
            return r.Vibrant = u(r, t, e, n.targetNormalLuma, n.minNormalLuma, n.maxNormalLuma, n.targetVibrantSaturation, n.minVibrantSaturation, 1, n), r.LightVibrant = u(r, t, e, n.targetLightLuma, n.minLightLuma, 1, n.targetVibrantSaturation, n.minVibrantSaturation, 1, n), r.DarkVibrant = u(r, t, e, n.targetDarkLuma, 0, n.maxDarkLuma, n.targetVibrantSaturation, n.minVibrantSaturation, 1, n), r.Muted = u(r, t, e, n.targetNormalLuma, n.minNormalLuma, n.maxNormalLuma, n.targetMutesSaturation, 0, n.maxMutesSaturation, n), r.LightMuted = u(r, t, e, n.targetLightLuma, n.minLightLuma, 1, n.targetMutesSaturation, 0, n.maxMutesSaturation, n), r.DarkMuted = u(r, t, e, n.targetDarkLuma, 0, n.maxDarkLuma, n.targetMutesSaturation, 0, n.maxMutesSaturation, n), r
        }(t, n, e);
        return function (t, e, n) {
            if (null === t.Vibrant && null === t.DarkVibrant && null === t.LightVibrant) {
                if (null === t.DarkVibrant && null !== t.DarkMuted) {
                    var i = t.DarkMuted.getHsl(), a = i[0], u = i[1], s = i[2];
                    s = n.targetDarkLuma, t.DarkVibrant = new r.Swatch(o.hslToRgb(a, u, s), 0)
                }
                if (null === t.LightVibrant && null !== t.LightMuted) {
                    var c = t.LightMuted.getHsl();
                    a = c[0], u = c[1], s = c[2], s = n.targetDarkLuma, t.DarkVibrant = new r.Swatch(o.hslToRgb(a, u, s), 0)
                }
            }
            if (null === t.Vibrant && null !== t.DarkVibrant) {
                var l = t.DarkVibrant.getHsl();
                a = l[0], u = l[1], s = l[2], s = n.targetNormalLuma, t.Vibrant = new r.Swatch(o.hslToRgb(a, u, s), 0)
            } else if (null === t.Vibrant && null !== t.LightVibrant) {
                var f = t.LightVibrant.getHsl();
                a = f[0], u = f[1], s = f[2], s = n.targetNormalLuma, t.Vibrant = new r.Swatch(o.hslToRgb(a, u, s), 0)
            }
            if (null === t.DarkVibrant && null !== t.Vibrant) {
                var h = t.Vibrant.getHsl();
                a = h[0], u = h[1], s = h[2], s = n.targetDarkLuma, t.DarkVibrant = new r.Swatch(o.hslToRgb(a, u, s), 0)
            }
            if (null === t.LightVibrant && null !== t.Vibrant) {
                var p = t.Vibrant.getHsl();
                a = p[0], u = p[1], s = p[2], s = n.targetLightLuma, t.LightVibrant = new r.Swatch(o.hslToRgb(a, u, s), 0)
            }
            if (null === t.Muted && null !== t.Vibrant) {
                var d = t.Vibrant.getHsl();
                a = d[0], u = d[1], s = d[2], s = n.targetMutesSaturation, t.Muted = new r.Swatch(o.hslToRgb(a, u, s), 0)
            }
            if (null === t.DarkMuted && null !== t.DarkVibrant) {
                var v = t.DarkVibrant.getHsl();
                a = v[0], u = v[1], s = v[2], s = n.targetMutesSaturation, t.DarkMuted = new r.Swatch(o.hslToRgb(a, u, s), 0)
            }
            if (null === t.LightMuted && null !== t.LightVibrant) {
                var g = t.LightVibrant.getHsl();
                a = g[0], u = g[1], s = g[2], s = n.targetMutesSaturation, t.LightMuted = new r.Swatch(o.hslToRgb(a, u, s), 0)
            }
        }(s, 0, e), s
    }
}, function (t, e, n) {
    var r = n(32), o = n(170), i = n(172);
    t.exports = function (t, e) {
        return i(o(t, e, r), t + "")
    }
}, function (t, e, n) {
    var r = n(171), o = Math.max;
    t.exports = function (t, e, n) {
        return e = o(void 0 === e ? t.length - 1 : e, 0), function () {
            for (var i = arguments, a = -1, u = o(i.length - e, 0), s = Array(u); ++a < u;) s[a] = i[e + a];
            a = -1;
            for (var c = Array(e + 1); ++a < e;) c[a] = i[a];
            return c[e] = n(s), r(t, this, c)
        }
    }
}, function (t, e) {
    t.exports = function (t, e, n) {
        switch (n.length) {
            case 0:
                return t.call(e);
            case 1:
                return t.call(e, n[0]);
            case 2:
                return t.call(e, n[0], n[1]);
            case 3:
                return t.call(e, n[0], n[1], n[2])
        }
        return t.apply(e, n)
    }
}, function (t, e, n) {
    var r = n(173), o = n(175)(r);
    t.exports = o
}, function (t, e, n) {
    var r = n(174), o = n(58), i = n(32), a = o ? function (t, e) {
        return o(t, "toString", {configurable: !0, enumerable: !1, value: r(e), writable: !0})
    } : i;
    t.exports = a
}, function (t, e) {
    t.exports = function (t) {
        return function () {
            return t
        }
    }
}, function (t, e) {
    var n = 800, r = 16, o = Date.now;
    t.exports = function (t) {
        var e = 0, i = 0;
        return function () {
            var a = o(), u = r - (a - i);
            if (i = a, u > 0) {
                if (++e >= n) return arguments[0]
            } else e = 0;
            return t.apply(void 0, arguments)
        }
    }
}, function (t, e, n) {
    var r = n(8), o = n(11), i = n(21), a = n(3);
    t.exports = function (t, e, n) {
        if (!a(n)) return !1;
        var u = typeof e;
        return !!("number" == u ? o(n) && i(e, n.length) : "string" == u && e in n) && r(n[e], t)
    }
}, function (t, e, n) {
    "use strict";
    Object.defineProperty(e, "__esModule", {value: !0});
    var r = n(178);
    e.Default = r.default, e.combineFilters = function (t) {
        return Array.isArray(t) && 0 !== t.length ? function (e, n, r, o) {
            if (0 === o) return !1;
            for (var i = 0; i < t.length; i++) if (!t[i](e, n, r, o)) return !1;
            return !0
        } : null
    }
}, function (t, e, n) {
    "use strict";
    Object.defineProperty(e, "__esModule", {value: !0}), e.default = function (t, e, n, r) {
        return r >= 125 && !(t > 250 && e > 250 && n > 250)
    }
}, function (t, e, n) {
    "use strict";
    var r, o = this && this.__extends || (r = function (t, e) {
        return (r = Object.setPrototypeOf || {__proto__: []} instanceof Array && function (t, e) {
            t.__proto__ = e
        } || function (t, e) {
            for (var n in e) e.hasOwnProperty(n) && (t[n] = e[n])
        })(t, e)
    }, function (t, e) {
        function n() {
            this.constructor = t
        }

        r(t, e), t.prototype = null === e ? Object.create(e) : (n.prototype = e.prototype, new n)
    });
    Object.defineProperty(e, "__esModule", {value: !0});
    var i = n(180), a = n(181);
    var u = function (t) {
        function e() {
            return null !== t && t.apply(this, arguments) || this
        }

        return o(e, t), e.prototype._initCanvas = function () {
            var t = this.image, e = this._canvas = document.createElement("canvas"),
                n = this._context = e.getContext("2d");
            e.className = "vibrant-canvas", e.style.display = "none", this._width = e.width = t.width, this._height = e.height = t.height, n.drawImage(t, 0, 0), document.body.appendChild(e)
        }, e.prototype.load = function (t) {
            var e, n, r, o, i, u, s = this, c = null, l = null;
            if ("string" == typeof t) c = document.createElement("img"), i = t, null === (u = a.parse(i)).protocol && null === u.host && null === u.port || (e = window.location.href, n = t, r = a.parse(e), o = a.parse(n), r.protocol === o.protocol && r.hostname === o.hostname && r.port === o.port) || (c.crossOrigin = "anonymous"), l = c.src = t; else {
                if (!(t instanceof HTMLImageElement)) return Promise.reject(new Error("Cannot load buffer as an image in browser"));
                c = t, l = t.src
            }
            return this.image = c, new Promise(function (t, e) {
                var n = function () {
                    s._initCanvas(), t(s)
                };
                c.complete ? n() : (c.onload = n, c.onerror = function (t) {
                    return e(new Error("Fail to load image: " + l))
                })
            })
        }, e.prototype.clear = function () {
            this._context.clearRect(0, 0, this._width, this._height)
        }, e.prototype.update = function (t) {
            this._context.putImageData(t, 0, 0)
        }, e.prototype.getWidth = function () {
            return this._width
        }, e.prototype.getHeight = function () {
            return this._height
        }, e.prototype.resize = function (t, e, n) {
            var r = this._canvas, o = this._context, i = this.image;
            this._width = r.width = t, this._height = r.height = e, o.scale(n, n), o.drawImage(i, 0, 0)
        }, e.prototype.getPixelCount = function () {
            return this._width * this._height
        }, e.prototype.getImageData = function () {
            return this._context.getImageData(0, 0, this._width, this._height)
        }, e.prototype.remove = function () {
            this._canvas && this._canvas.parentNode && this._canvas.parentNode.removeChild(this._canvas)
        }, e
    }(i.ImageBase);
    e.default = u
}, function (t, e, n) {
    "use strict";
    Object.defineProperty(e, "__esModule", {value: !0});
    var r = function () {
        function t() {
        }

        return t.prototype.scaleDown = function (t) {
            var e = this.getWidth(), n = this.getHeight(), r = 1;
            if (t.maxDimension > 0) {
                var o = Math.max(e, n);
                o > t.maxDimension && (r = t.maxDimension / o)
            } else r = 1 / t.quality;
            r < 1 && this.resize(e * r, n * r, r)
        }, t.prototype.applyFilter = function (t) {
            var e = this.getImageData();
            if ("function" == typeof t) for (var n = e.data, r = n.length / 4, o = void 0, i = 0; i < r; i++) t(n[(o = 4 * i) + 0], n[o + 1], n[o + 2], n[o + 3]) || (n[o + 3] = 0);
            return Promise.resolve(e)
        }, t
    }();
    e.ImageBase = r
}, function (t, e, n) {
    "use strict";
    var r = n(182), o = n(183);

    function i() {
        this.protocol = null, this.slashes = null, this.auth = null, this.host = null, this.port = null, this.hostname = null, this.hash = null, this.search = null, this.query = null, this.pathname = null, this.path = null, this.href = null
    }

    e.parse = m, e.resolve = function (t, e) {
        return m(t, !1, !0).resolve(e)
    }, e.resolveObject = function (t, e) {
        return t ? m(t, !1, !0).resolveObject(e) : e
    }, e.format = function (t) {
        o.isString(t) && (t = m(t));
        return t instanceof i ? t.format() : i.prototype.format.call(t)
    }, e.Url = i;
    var a = /^([a-z0-9.+-]+:)/i, u = /:[0-9]*$/, s = /^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,
        c = ["{", "}", "|", "\\", "^", "`"].concat(["<", ">", '"', "`", " ", "\r", "\n", "\t"]), l = ["'"].concat(c),
        f = ["%", "/", "?", ";", "#"].concat(l), h = ["/", "?", "#"], p = /^[+a-z0-9A-Z_-]{0,63}$/,
        d = /^([+a-z0-9A-Z_-]{0,63})(.*)$/, v = {javascript: !0, "javascript:": !0},
        g = {javascript: !0, "javascript:": !0}, b = {
            http: !0,
            https: !0,
            ftp: !0,
            gopher: !0,
            file: !0,
            "http:": !0,
            "https:": !0,
            "ftp:": !0,
            "gopher:": !0,
            "file:": !0
        }, y = n(184);

    function m(t, e, n) {
        if (t && o.isObject(t) && t instanceof i) return t;
        var r = new i;
        return r.parse(t, e, n), r
    }

    i.prototype.parse = function (t, e, n) {
        if (!o.isString(t)) throw new TypeError("Parameter 'url' must be a string, not " + typeof t);
        var i = t.indexOf("?"), u = -1 !== i && i < t.indexOf("#") ? "?" : "#", c = t.split(u);
        c[0] = c[0].replace(/\\/g, "/");
        var m = t = c.join(u);
        if (m = m.trim(), !n && 1 === t.split("#").length) {
            var x = s.exec(m);
            if (x) return this.path = m, this.href = m, this.pathname = x[1], x[2] ? (this.search = x[2], this.query = e ? y.parse(this.search.substr(1)) : this.search.substr(1)) : e && (this.search = "", this.query = {}), this
        }
        var _ = a.exec(m);
        if (_) {
            var j = (_ = _[0]).toLowerCase();
            this.protocol = j, m = m.substr(_.length)
        }
        if (n || _ || m.match(/^\/\/[^@\/]+@[^@\/]+/)) {
            var w = "//" === m.substr(0, 2);
            !w || _ && g[_] || (m = m.substr(2), this.slashes = !0)
        }
        if (!g[_] && (w || _ && !b[_])) {
            for (var O, C, S = -1, M = 0; M < h.length; M++) {
                -1 !== (A = m.indexOf(h[M])) && (-1 === S || A < S) && (S = A)
            }
            -1 !== (C = -1 === S ? m.lastIndexOf("@") : m.lastIndexOf("@", S)) && (O = m.slice(0, C), m = m.slice(C + 1), this.auth = decodeURIComponent(O)), S = -1;
            for (M = 0; M < f.length; M++) {
                var A;
                -1 !== (A = m.indexOf(f[M])) && (-1 === S || A < S) && (S = A)
            }
            -1 === S && (S = m.length), this.host = m.slice(0, S), m = m.slice(S), this.parseHost(), this.hostname = this.hostname || "";
            var P = "[" === this.hostname[0] && "]" === this.hostname[this.hostname.length - 1];
            if (!P) for (var I = this.hostname.split(/\./), T = (M = 0, I.length); M < T; M++) {
                var L = I[M];
                if (L && !L.match(p)) {
                    for (var E = "", k = 0, D = L.length; k < D; k++) L.charCodeAt(k) > 127 ? E += "x" : E += L[k];
                    if (!E.match(p)) {
                        var F = I.slice(0, M), V = I.slice(M + 1), z = L.match(d);
                        z && (F.push(z[1]), V.unshift(z[2])), V.length && (m = "/" + V.join(".") + m), this.hostname = F.join(".");
                        break
                    }
                }
            }
            this.hostname.length > 255 ? this.hostname = "" : this.hostname = this.hostname.toLowerCase(), P || (this.hostname = r.toASCII(this.hostname));
            var U = this.port ? ":" + this.port : "", N = this.hostname || "";
            this.host = N + U, this.href += this.host, P && (this.hostname = this.hostname.substr(1, this.hostname.length - 2), "/" !== m[0] && (m = "/" + m))
        }
        if (!v[j]) for (M = 0, T = l.length; M < T; M++) {
            var R = l[M];
            if (-1 !== m.indexOf(R)) {
                var q = encodeURIComponent(R);
                q === R && (q = escape(R)), m = m.split(R).join(q)
            }
        }
        var B = m.indexOf("#");
        -1 !== B && (this.hash = m.substr(B), m = m.slice(0, B));
        var H = m.indexOf("?");
        if (-1 !== H ? (this.search = m.substr(H), this.query = m.substr(H + 1), e && (this.query = y.parse(this.query)), m = m.slice(0, H)) : e && (this.search = "", this.query = {}), m && (this.pathname = m), b[j] && this.hostname && !this.pathname && (this.pathname = "/"), this.pathname || this.search) {
            U = this.pathname || "";
            var G = this.search || "";
            this.path = U + G
        }
        return this.href = this.format(), this
    }, i.prototype.format = function () {
        var t = this.auth || "";
        t && (t = (t = encodeURIComponent(t)).replace(/%3A/i, ":"), t += "@");
        var e = this.protocol || "", n = this.pathname || "", r = this.hash || "", i = !1, a = "";
        this.host ? i = t + this.host : this.hostname && (i = t + (-1 === this.hostname.indexOf(":") ? this.hostname : "[" + this.hostname + "]"), this.port && (i += ":" + this.port)), this.query && o.isObject(this.query) && Object.keys(this.query).length && (a = y.stringify(this.query));
        var u = this.search || a && "?" + a || "";
        return e && ":" !== e.substr(-1) && (e += ":"), this.slashes || (!e || b[e]) && !1 !== i ? (i = "//" + (i || ""), n && "/" !== n.charAt(0) && (n = "/" + n)) : i || (i = ""), r && "#" !== r.charAt(0) && (r = "#" + r), u && "?" !== u.charAt(0) && (u = "?" + u), e + i + (n = n.replace(/[?#]/g, function (t) {
            return encodeURIComponent(t)
        })) + (u = u.replace("#", "%23")) + r
    }, i.prototype.resolve = function (t) {
        return this.resolveObject(m(t, !1, !0)).format()
    }, i.prototype.resolveObject = function (t) {
        if (o.isString(t)) {
            var e = new i;
            e.parse(t, !1, !0), t = e
        }
        for (var n = new i, r = Object.keys(this), a = 0; a < r.length; a++) {
            var u = r[a];
            n[u] = this[u]
        }
        if (n.hash = t.hash, "" === t.href) return n.href = n.format(), n;
        if (t.slashes && !t.protocol) {
            for (var s = Object.keys(t), c = 0; c < s.length; c++) {
                var l = s[c];
                "protocol" !== l && (n[l] = t[l])
            }
            return b[n.protocol] && n.hostname && !n.pathname && (n.path = n.pathname = "/"), n.href = n.format(), n
        }
        if (t.protocol && t.protocol !== n.protocol) {
            if (!b[t.protocol]) {
                for (var f = Object.keys(t), h = 0; h < f.length; h++) {
                    var p = f[h];
                    n[p] = t[p]
                }
                return n.href = n.format(), n
            }
            if (n.protocol = t.protocol, t.host || g[t.protocol]) n.pathname = t.pathname; else {
                for (var d = (t.pathname || "").split("/"); d.length && !(t.host = d.shift());) ;
                t.host || (t.host = ""), t.hostname || (t.hostname = ""), "" !== d[0] && d.unshift(""), d.length < 2 && d.unshift(""), n.pathname = d.join("/")
            }
            if (n.search = t.search, n.query = t.query, n.host = t.host || "", n.auth = t.auth, n.hostname = t.hostname || t.host, n.port = t.port, n.pathname || n.search) {
                var v = n.pathname || "", y = n.search || "";
                n.path = v + y
            }
            return n.slashes = n.slashes || t.slashes, n.href = n.format(), n
        }
        var m = n.pathname && "/" === n.pathname.charAt(0), x = t.host || t.pathname && "/" === t.pathname.charAt(0),
            _ = x || m || n.host && t.pathname, j = _, w = n.pathname && n.pathname.split("/") || [],
            O = (d = t.pathname && t.pathname.split("/") || [], n.protocol && !b[n.protocol]);
        if (O && (n.hostname = "", n.port = null, n.host && ("" === w[0] ? w[0] = n.host : w.unshift(n.host)), n.host = "", t.protocol && (t.hostname = null, t.port = null, t.host && ("" === d[0] ? d[0] = t.host : d.unshift(t.host)), t.host = null), _ = _ && ("" === d[0] || "" === w[0])), x) n.host = t.host || "" === t.host ? t.host : n.host, n.hostname = t.hostname || "" === t.hostname ? t.hostname : n.hostname, n.search = t.search, n.query = t.query, w = d; else if (d.length) w || (w = []), w.pop(), w = w.concat(d), n.search = t.search, n.query = t.query; else if (!o.isNullOrUndefined(t.search)) {
            if (O) n.hostname = n.host = w.shift(), (P = !!(n.host && n.host.indexOf("@") > 0) && n.host.split("@")) && (n.auth = P.shift(), n.host = n.hostname = P.shift());
            return n.search = t.search, n.query = t.query, o.isNull(n.pathname) && o.isNull(n.search) || (n.path = (n.pathname ? n.pathname : "") + (n.search ? n.search : "")), n.href = n.format(), n
        }
        if (!w.length) return n.pathname = null, n.search ? n.path = "/" + n.search : n.path = null, n.href = n.format(), n;
        for (var C = w.slice(-1)[0], S = (n.host || t.host || w.length > 1) && ("." === C || ".." === C) || "" === C, M = 0, A = w.length; A >= 0; A--) "." === (C = w[A]) ? w.splice(A, 1) : ".." === C ? (w.splice(A, 1), M++) : M && (w.splice(A, 1), M--);
        if (!_ && !j) for (; M--; M) w.unshift("..");
        !_ || "" === w[0] || w[0] && "/" === w[0].charAt(0) || w.unshift(""), S && "/" !== w.join("/").substr(-1) && w.push("");
        var P, I = "" === w[0] || w[0] && "/" === w[0].charAt(0);
        O && (n.hostname = n.host = I ? "" : w.length ? w.shift() : "", (P = !!(n.host && n.host.indexOf("@") > 0) && n.host.split("@")) && (n.auth = P.shift(), n.host = n.hostname = P.shift()));
        return (_ = _ || n.host && w.length) && !I && w.unshift(""), w.length ? n.pathname = w.join("/") : (n.pathname = null, n.path = null), o.isNull(n.pathname) && o.isNull(n.search) || (n.path = (n.pathname ? n.pathname : "") + (n.search ? n.search : "")), n.auth = t.auth || n.auth, n.slashes = n.slashes || t.slashes, n.href = n.format(), n
    }, i.prototype.parseHost = function () {
        var t = this.host, e = u.exec(t);
        e && (":" !== (e = e[0]) && (this.port = e.substr(1)), t = t.substr(0, t.length - e.length)), t && (this.hostname = t)
    }
}, function (t, e, n) {
    (function (t, r) {
        var o;/*! https://mths.be/punycode v1.4.1 by @mathias */
        !function (i) {
            e && e.nodeType, t && t.nodeType;
            var a = "object" == typeof r && r;
            a.global !== a && a.window !== a && a.self;
            var u, s = 2147483647, c = 36, l = 1, f = 26, h = 38, p = 700, d = 72, v = 128, g = "-", b = /^xn--/,
                y = /[^\x20-\x7E]/, m = /[\x2E\u3002\uFF0E\uFF61]/g, x = {
                    overflow: "Overflow: input needs wider integers to process",
                    "not-basic": "Illegal input >= 0x80 (not a basic code point)",
                    "invalid-input": "Invalid input"
                }, _ = c - l, j = Math.floor, w = String.fromCharCode;

            function O(t) {
                throw new RangeError(x[t])
            }

            function C(t, e) {
                for (var n = t.length, r = []; n--;) r[n] = e(t[n]);
                return r
            }

            function S(t, e) {
                var n = t.split("@"), r = "";
                return n.length > 1 && (r = n[0] + "@", t = n[1]), r + C((t = t.replace(m, ".")).split("."), e).join(".")
            }

            function M(t) {
                for (var e, n, r = [], o = 0, i = t.length; o < i;) (e = t.charCodeAt(o++)) >= 55296 && e <= 56319 && o < i ? 56320 == (64512 & (n = t.charCodeAt(o++))) ? r.push(((1023 & e) << 10) + (1023 & n) + 65536) : (r.push(e), o--) : r.push(e);
                return r
            }

            function A(t) {
                return C(t, function (t) {
                    var e = "";
                    return t > 65535 && (e += w((t -= 65536) >>> 10 & 1023 | 55296), t = 56320 | 1023 & t), e += w(t)
                }).join("")
            }

            function P(t, e) {
                return t + 22 + 75 * (t < 26) - ((0 != e) << 5)
            }

            function I(t, e, n) {
                var r = 0;
                for (t = n ? j(t / p) : t >> 1, t += j(t / e); t > _ * f >> 1; r += c) t = j(t / _);
                return j(r + (_ + 1) * t / (t + h))
            }

            function T(t) {
                var e, n, r, o, i, a, u, h, p, b, y, m = [], x = t.length, _ = 0, w = v, C = d;
                for ((n = t.lastIndexOf(g)) < 0 && (n = 0), r = 0; r < n; ++r) t.charCodeAt(r) >= 128 && O("not-basic"), m.push(t.charCodeAt(r));
                for (o = n > 0 ? n + 1 : 0; o < x;) {
                    for (i = _, a = 1, u = c; o >= x && O("invalid-input"), ((h = (y = t.charCodeAt(o++)) - 48 < 10 ? y - 22 : y - 65 < 26 ? y - 65 : y - 97 < 26 ? y - 97 : c) >= c || h > j((s - _) / a)) && O("overflow"), _ += h * a, !(h < (p = u <= C ? l : u >= C + f ? f : u - C)); u += c) a > j(s / (b = c - p)) && O("overflow"), a *= b;
                    C = I(_ - i, e = m.length + 1, 0 == i), j(_ / e) > s - w && O("overflow"), w += j(_ / e), _ %= e, m.splice(_++, 0, w)
                }
                return A(m)
            }

            function L(t) {
                var e, n, r, o, i, a, u, h, p, b, y, m, x, _, C, S = [];
                for (m = (t = M(t)).length, e = v, n = 0, i = d, a = 0; a < m; ++a) (y = t[a]) < 128 && S.push(w(y));
                for (r = o = S.length, o && S.push(g); r < m;) {
                    for (u = s, a = 0; a < m; ++a) (y = t[a]) >= e && y < u && (u = y);
                    for (u - e > j((s - n) / (x = r + 1)) && O("overflow"), n += (u - e) * x, e = u, a = 0; a < m; ++a) if ((y = t[a]) < e && ++n > s && O("overflow"), y == e) {
                        for (h = n, p = c; !(h < (b = p <= i ? l : p >= i + f ? f : p - i)); p += c) C = h - b, _ = c - b, S.push(w(P(b + C % _, 0))), h = j(C / _);
                        S.push(w(P(h, 0))), i = I(n, x, r == o), n = 0, ++r
                    }
                    ++n, ++e
                }
                return S.join("")
            }

            u = {
                version: "1.4.1", ucs2: {decode: M, encode: A}, decode: T, encode: L, toASCII: function (t) {
                    return S(t, function (t) {
                        return y.test(t) ? "xn--" + L(t) : t
                    })
                }, toUnicode: function (t) {
                    return S(t, function (t) {
                        return b.test(t) ? T(t.slice(4).toLowerCase()) : t
                    })
                }
            }, void 0 === (o = function () {
                return u
            }.call(e, n, e, t)) || (t.exports = o)
        }()
    }).call(this, n(10)(t), n(40))
}, function (t, e, n) {
    "use strict";
    t.exports = {
        isString: function (t) {
            return "string" == typeof t
        }, isObject: function (t) {
            return "object" == typeof t && null !== t
        }, isNull: function (t) {
            return null === t
        }, isNullOrUndefined: function (t) {
            return null == t
        }
    }
}, function (t, e, n) {
    "use strict";
    e.decode = e.parse = n(185), e.encode = e.stringify = n(186)
}, function (t, e, n) {
    "use strict";

    function r(t, e) {
        return Object.prototype.hasOwnProperty.call(t, e)
    }

    t.exports = function (t, e, n, i) {
        e = e || "&", n = n || "=";
        var a = {};
        if ("string" != typeof t || 0 === t.length) return a;
        var u = /\+/g;
        t = t.split(e);
        var s = 1e3;
        i && "number" == typeof i.maxKeys && (s = i.maxKeys);
        var c = t.length;
        s > 0 && c > s && (c = s);
        for (var l = 0; l < c; ++l) {
            var f, h, p, d, v = t[l].replace(u, "%20"), g = v.indexOf(n);
            g >= 0 ? (f = v.substr(0, g), h = v.substr(g + 1)) : (f = v, h = ""), p = decodeURIComponent(f), d = decodeURIComponent(h), r(a, p) ? o(a[p]) ? a[p].push(d) : a[p] = [a[p], d] : a[p] = d
        }
        return a
    };
    var o = Array.isArray || function (t) {
        return "[object Array]" === Object.prototype.toString.call(t)
    }
}, function (t, e, n) {
    "use strict";
    var r = function (t) {
        switch (typeof t) {
            case"string":
                return t;
            case"boolean":
                return t ? "true" : "false";
            case"number":
                return isFinite(t) ? t : "";
            default:
                return ""
        }
    };
    t.exports = function (t, e, n, u) {
        return e = e || "&", n = n || "=", null === t && (t = void 0), "object" == typeof t ? i(a(t), function (a) {
            var u = encodeURIComponent(r(a)) + n;
            return o(t[a]) ? i(t[a], function (t) {
                return u + encodeURIComponent(r(t))
            }).join(e) : u + encodeURIComponent(r(t[a]))
        }).join(e) : u ? encodeURIComponent(r(u)) + n + encodeURIComponent(r(t)) : ""
    };
    var o = Array.isArray || function (t) {
        return "[object Array]" === Object.prototype.toString.call(t)
    };

    function i(t, e) {
        if (t.map) return t.map(e);
        for (var n = [], r = 0; r < t.length; r++) n.push(e(t[r], r));
        return n
    }

    var a = Object.keys || function (t) {
        var e = [];
        for (var n in t) Object.prototype.hasOwnProperty.call(t, n) && e.push(n);
        return e
    }
}, function (t, e) {
}]).default;